API ns for the logger. Currently only support slf4j2.
API ns for the logger. Currently only support slf4j2.
(debug data)
Logs data at the DEBUG level.
Args: data - The data to log. Should contain a :msg key for the log message.
Logs data at the DEBUG level. Args: data - The data to log. Should contain a :msg key for the log message.
(error data)
Logs data at the ERROR level.
Args: data - The data to log. Should contain a :msg key for the log message. Use the :throwable key to include the throwable in the message.
Logs data at the ERROR level. Args: data - The data to log. Should contain a :msg key for the log message. Use the :throwable key to include the throwable in the message.
(info data)
Logs data at the INFO level.
Args: data - The data to log. Should contain a :msg key for the log message.
Logs data at the INFO level. Args: data - The data to log. Should contain a :msg key for the log message.
(log level data)
Logs data at the specified logging level.
Args: level - The logging level (e.g., :trace, :debug, :info, :warn, or :error) data - The data to log. Should contain a :msg key for the log message.
Logs data at the specified logging level. Args: level - The logging level (e.g., :trace, :debug, :info, :warn, or :error) data - The data to log. Should contain a :msg key for the log message.
(trace data)
Logs data at the TRACE level.
Args: data - The data to log. Should contain a :msg key for the log message.
Logs data at the TRACE level. Args: data - The data to log. Should contain a :msg key for the log message.
(warn data)
Logs data at the WARN level.
Args: data - The data to log. Should contain a :msg key for the log message.
Logs data at the WARN level. Args: data - The data to log. Should contain a :msg key for the log message.
(with-context context & body)
Establishes a new logging context for the enclosed code block. Will override
any existing context. Use with-context+
to merge to with the existing
context.
Args:
context: KVs to include in all logs within body
Establishes a new logging context for the enclosed code block. Will override any existing context. Use [[with-context+]] to merge to with the existing context. Args: context: KVs to include in all logs within `body`
(with-context+ context & body)
Establishes a new logging context for the enclosed code block. Will merge with any existing context.
Args:
context: KVs to include in all logs within body
Establishes a new logging context for the enclosed code block. Will merge with any existing context. Args: context: KVs to include in all logs within `body`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close