Liking cljdoc? Tell your friends :D

kwill.logger

API ns for the logger. Currently only support slf4j2.

API ns for the logger. Currently only support slf4j2.
raw docstring

*context*clj


debugcljmacro

(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.
raw docstring

errorcljmacro

(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.
raw docstring

infocljmacro

(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.
raw docstring

logcljmacro

(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.
raw docstring

tracecljmacro

(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.
raw docstring

warncljmacro

(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.
raw docstring

with-contextcljmacro

(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`
raw docstring

with-context+cljmacro

(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`
raw docstring

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

× close