(awaiting & body)
Waits for logs in the buffer to be written before returning.
Waits for logs in the buffer to be written before returning.
(capture & body)
Capture the logs being written.
Capture the logs being written.
(deflogged symbol docs bindings & body)
Define a function that logs its inputs and outputs (and errors). Will not log inputs whose symbol begins with an underscore.
Define a function that logs its inputs and outputs (and errors). Will not log inputs whose symbol begins with an underscore.
(log & args)
Write to the log.
required argument that should be first.
keyword to indicate the log level or a vector of [logger-name level]
optional arguments that may appear in any order.
a map of additional data to write to the log entry. a throwable instance to include a stack trace / exception data. string message that can be formatted with data from the data map.
Write to the log. required argument that should be first. keyword to indicate the log level or a vector of [logger-name level] optional arguments that may appear in any order. a map of additional data to write to the log entry. a throwable instance to include a stack trace / exception data. string message that can be formatted with data from the data map.
(set-configuration! config)
Set logging configuration options.
Set logging configuration options.
(update-configuration! f & args)
(with-config config & body)
Alters the config/config binding to new configuration for the execution of body.
Alters the config/*config* binding to new configuration for the execution of body.
(with-config+ config & body)
Alters the config/config binding to new configuration for the execution of body.
Alters the config/*config* binding to new configuration for the execution of body.
(with-context context & body)
Add data onto the context stack to be included in any logs. Data is deep merged with data already on the stack.
Add data onto the context stack to be included in any logs. Data is deep merged with data already on the stack.
(with-level-context level context & body)
Add data onto the context stack to be included in any logs at the given level or less severe than the given level. Data is deep merged with data already on the stack.
Add data onto the context stack to be included in any logs at the given level or less severe than the given level. Data is deep merged with data already on the stack.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close