Liking cljdoc? Tell your friends :D

std.log


actioncljmacro

(action body)
(action context body)
(action logger context body)

basic-loggerclj

(basic-logger)
(basic-logger m)

constructs a basic logger

(basic-logger) => std.log.core.BasicLogger

constructs a basic logger

(basic-logger)
=> std.log.core.BasicLogger
raw docstring

blockcljmacro

(block body)
(block context body)
(block logger context body)

console-loggerclj

(console-logger)
(console-logger m)

creates a console logger

(console-logger)

creates a console logger

(console-logger)
raw docstring

createclj

(create m)

creates a component compatible logger

(log/create {:type :basic})

creates a component compatible logger

(log/create {:type :basic})
raw docstring

current-contextclj

(current-context)

returns the current context

returns the current context
raw docstring

debugcljmacro

(debug data)
(debug context data)
(debug logger context data)

errorcljmacro

(error exception)
(error context exception)
(error logger context exception)

fatalcljmacro

(fatal exception)
(fatal context exception)
(fatal logger context exception)

identity-loggerclj

(identity-logger)
(identity-logger m)

creates a identity logger

(identity-logger)

creates a identity logger

(identity-logger)
raw docstring

infocljmacro

(info data)
(info context data)
(info logger context data)

logcljmacro

(log data)
(log context data)
(log level context data)
(log logger level context data)
(log logger level context data exception)

produces a log

produces a log
raw docstring

log-contextclj

(log-context body)

creates a log-context form

(log-context "hello") => seq?

creates a log-context form

(log-context "hello")
=> seq?
raw docstring

log-metaclj

(log-meta form)

gets the metadata information on macroexpand

gets the metadata information on macroexpand
raw docstring

log-runtimeclj


loggerclj

(logger m)

creates an starts a logger

(log/logger {:type :basic})

creates an starts a logger

(log/logger {:type :basic})
raw docstring

logger?clj

(logger? m)

checks if the object is a logger

(log/logger? (log/create {:type :basic})) => true

checks if the object is a logger

(log/logger? (log/create {:type :basic}))
=> true
raw docstring

metercljmacro

(meter body)
(meter context body)
(meter logger context body)

multi-loggerclj

(multi-logger m)

creates multiple loggers

(multi-logger {:loggers [{:type :console :interval 500 :max-batch 10000} {:type :basic :interval 500 :max-batch 10000}]})

creates multiple loggers

(multi-logger {:loggers [{:type :console
                          :interval 500
                         :max-batch 10000}
                         {:type :basic
                          :interval 500
                          :max-batch 10000}]})
raw docstring

notecljmacro

(note body)
(note context body)
(note logger context body)

profilecljmacro

(profile body)
(profile context body)
(profile logger context body)

put-logger!clj

(put-logger! {:keys [level context namespace function filter] :as data})
(put-logger! {:keys [instance] :as logger} data)

updates the global logger

updates the global logger
raw docstring

sectioncljmacro

(section body)
(section context body)
(section logger context body)

set-context!clj

(set-context! context)

sets the global context

sets the global context
raw docstring

set-level!clj

(set-level! status)

sets the global level variable

sets the global level variable
raw docstring

set-logger!clj

(set-logger! logger)
(set-logger! logger var)

sets the global logger

sets the global logger
raw docstring

set-static!clj

(set-static! bool)

sets the global static variable

sets the global static variable
raw docstring

showcljmacro

(show body)
(show context body)
(show logger context body)

silentcljmacro

(silent body)
(silent context body)
(silent logger context body)

spycljmacro

(spy body)
(spy context body)
(spy logger context body)

statuscljmacro

(status body)
(status context body)
(status logger context body)

stepcljmacro

(step message & body)

conducts a step that is logged

conducts a step that is logged
raw docstring

taskcljmacro

(task body)
(task context body)
(task logger context body)

todocljmacro

(todo body)
(todo context body)
(todo logger context body)

tracecljmacro

(trace body)
(trace context body)
(trace logger context body)

trackcljmacro

(track body)
(track context body)
(track logger context body)

verbosecljmacro

(verbose data)
(verbose context data)
(verbose logger context data)

warncljmacro

(warn data)
(warn context data)
(warn logger context data)

withcljmacro

(with opts & body)

enables targeted printing of statements

enables targeted printing of statements
raw docstring

with-contextcljmacro

(with-context context & body)

executes code with a given context

executes code with a given context
raw docstring

with-indentcljmacro

(with-indent indent & body)

executes body with a given indent

executes body with a given indent
raw docstring

with-levelcljmacro

(with-level level & body)

executes body with a given level

executes body with a given level
raw docstring

with-loggercljmacro

(with-logger logger & body)

executes code with a logger

executes code with a logger
raw docstring

with-logger-basiccljmacro

(with-logger-basic & body)

executes code with the basic logger (for debugging the logger)

executes code with the basic logger (for debugging the logger)
raw docstring

with-logger-verbosecljmacro

(with-logger-verbose & body)

executes code with a verbose logger (for printing out everything)

executes code with a verbose logger (for printing out everything)
raw docstring

with-overwritecljmacro

(with-overwrite overwrite & body)

executes code with a given overwrite

executes code with a given overwrite
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close