Liking cljdoc? Tell your friends :D

datalogger.core


capturecljmacro

(capture & body)

Capture the logs being written.

Capture the logs being written.
sourceraw docstring

logcljmacro

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

set-configuration!clj

(set-configuration! config)

Set logging configuration options.

Set logging configuration options.
sourceraw docstring

with-contextcljmacro

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

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

× close