Liking cljdoc? Tell your friends :D

pallet.common.logging.logutils

Utilities for logging

Utilities for logging
raw docstring

logging-threshold-fixturecljmacro

(logging-threshold-fixture)
(logging-threshold-fixture level)
(logging-threshold-fixture level appender-name)
(logging-threshold-fixture level appender-name logger-name)

A fixture to set the logging level of a specified logger

A fixture to set the logging level of a specified logger
sourceraw docstring

logging-to-stdoutcljmacro

(logging-to-stdout & forms)

Send log messages to stdout for inspection

Send log messages to stdout for inspection
sourceraw docstring

logging-to-stringcljmacro

(logging-to-string & forms)

Send log messages to a string for inspection

Send log messages to a string for inspection
sourceraw docstring

null-logclj

source

null-logger-factoryclj

source

stdout-logclj

source

stdout-logger-factoryclj

source

suppress-loggingcljmacro

(suppress-logging & forms)

Prevent log messages to reduce test log noise

Prevent log messages to reduce test log noise
sourceraw docstring

tools-logging-compatcljmacro

(tools-logging-compat)
source

with-contextcljmacro

(with-context bindings & body)

Specify the logging context for a given body. bindings is a vector of keyword value pairs to be set on the Mapped Diagnostic Context. If the current logger doesn't support contexts, then the body is just wrapped in a do. slf4j is the only supported logger at present.

Specify the logging context for a given `body`. `bindings` is a vector of
keyword value pairs to be set on the Mapped Diagnostic Context. If the
current logger doesn't support contexts, then the body is just wrapped in a
`do`. slf4j is the only supported logger at present.
sourceraw docstring

with-log-to-stringcljmacro

(with-log-to-string [& args] & body)

Target the logger for an output string.

Target the logger for an output string.
sourceraw docstring

with-logger-factorycljmacro

(with-logger-factory factory__2358__auto__ & body__2360__auto__)
source

with-thresholdcljmacro

(with-threshold [level & [appender-name logger-name]] & body)
source

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

× close