Liking cljdoc? Tell your friends :D

pallet.common.logging.logutils

Utilities for logging

Utilities for logging
raw docstring

logging-threshold-fixtureclj/smacro

(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-stdoutclj/smacro

(logging-to-stdout & forms)

Send log messages to stdout for inspection

Send log messages to stdout for inspection
sourceraw docstring

logging-to-stringclj/smacro

(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-loggingclj/smacro

(suppress-logging & forms)

Prevent log messages to reduce test log noise

Prevent log messages to reduce test log noise
sourceraw docstring

tools-logging-compatclj/smacro

(tools-logging-compat)
source

with-contextclj/smacro

(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-stringclj/smacro

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

Target the logger for an output string.

Target the logger for an output string.
sourceraw docstring

with-logger-factoryclj/smacro

(with-logger-factory factory__1539__auto__ & body__1541__auto__)
source

with-thresholdclj/smacro

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

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

× close