Liking cljdoc? Tell your friends :D

datalogger.core


_initclj


awaitingcljmacro

(awaiting & body)

Waits for logs in the buffer to be written before returning.

Waits for logs in the buffer to be written before returning.
raw docstring

capturecljmacro

(capture & body)

Capture the logs being written.

Capture the logs being written.
raw docstring

defloggedcljmacro

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

initialize!clj

(initialize!)

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

set-configuration!clj

(set-configuration! config)

Set logging configuration options.

Set logging configuration options.
raw docstring

update-configuration!clj

(update-configuration! f & args)

with-configcljmacro

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

with-config+cljmacro

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

with-level-contextcljmacro

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

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

× close