Liking cljdoc? Tell your friends :D

dialog.logger

Logging implementation logic and integration with SLF4J.

Logging implementation logic and integration with SLF4J.
raw docstring

blocked?clj

(blocked? logger)

True if the logger is blocked by configuration, otherwise false.

True if the logger is blocked by configuration, otherwise false.
sourceraw docstring

clear-levels!clj

(clear-levels!)

Dynamically adjust the configuration to remove all logger levels. Does not change the root level. Returns nil.

Dynamically adjust the configuration to remove all logger levels. Does not
change the root level. Returns nil.
sourceraw docstring

configclj

Global logging configuration reference.

Global logging configuration reference.
sourceraw docstring

debugcljmacro

(debug message & more)
(debug throwable message & more)

Debug level logging using print-style args.

Debug level logging using print-style args.
sourceraw docstring

debugfcljmacro

(debugf fmt & fmt-args)
(debugf throwable fmt & fmt-args)

Debug level logging using format.

Debug level logging using format.
sourceraw docstring

enabled?clj

(enabled? logger level)

True if the named logger is enabled at the provided event level.

True if the named logger is enabled at the provided event level.
sourceraw docstring

errorcljmacro

(error message & more)
(error throwable message & more)

Error level logging using print-style args.

Error level logging using print-style args.
sourceraw docstring

errorfcljmacro

(errorf fmt & fmt-args)
(errorf throwable fmt & fmt-args)

Error level logging using format.

Error level logging using format.
sourceraw docstring

fatalcljmacro

(fatal message & more)
(fatal throwable message & more)

Fatal level logging using print-style args.

Fatal level logging using print-style args.
sourceraw docstring

fatalfcljmacro

(fatalf fmt & fmt-args)
(fatalf throwable fmt & fmt-args)

Fatal level logging using format.

Fatal level logging using format.
sourceraw docstring

get-levelclj

(get-level)
(get-level logger)

Get the current level setting for a logger. If no logger name is provided, this returns the root logger's level.

Get the current level setting for a logger. If no logger name is provided,
this returns the root logger's level.
sourceraw docstring

get-levelsclj

(get-levels)

Return a map of all configured logger names to level keywords.

Return a map of all configured logger names to level keywords.
sourceraw docstring

infocljmacro

(info message & more)
(info throwable message & more)

Info level logging using print-style args.

Info level logging using print-style args.
sourceraw docstring

infofcljmacro

(infof fmt & fmt-args)
(infof throwable fmt & fmt-args)

Info level logging using format.

Info level logging using format.
sourceraw docstring

initialize!clj

(initialize!)

Load and initialize the logging system configuration.

Load and initialize the logging system configuration.
sourceraw docstring

level-allowed?clj

(level-allowed? threshold level)

True if the logger level meets or exceeds the threshold level.

True if the logger level meets or exceeds the threshold level.
sourceraw docstring

log-eventclj

(log-event event)

Pass an event into the logging system.

Pass an event into the logging system.
sourceraw docstring

logfcljmacro

(logf level fmt & fmt-args)
(logf level throwable fmt & fmt-args)

Log a message using a format string and args. Can optionally take a throwable as its second arg.

Log a message using a format string and args. Can optionally take a
throwable as its second arg.
sourceraw docstring

logpcljmacro

(logp level message & more)
(logp level throwable message & more)

Log a message using print style args. Can optionally take a throwable as its second arg.

Log a message using print style args. Can optionally take a throwable as its
second arg.
sourceraw docstring

set-level!clj

(set-level! level)
(set-level! logger level)

Dynamically adjust the level for the named logger. If no name is provided, adjusts the level of the root logger. Returns nil.

Dynamically adjust the level for the named logger. If no name is provided,
adjusts the level of the root logger. Returns nil.
sourceraw docstring

tracecljmacro

(trace message & more)
(trace throwable message & more)

Trace level logging using print-style args. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

Trace level logging using print-style args.
Use the 'logging.readable' namespace to avoid wrapping args in pr-str.
sourceraw docstring

tracefcljmacro

(tracef fmt & fmt-args)
(tracef throwable fmt & fmt-args)

Trace level logging using format.

Trace level logging using format.
sourceraw docstring

valid-level?clj

(valid-level? k)

True if the provided value is a valid logger level keyword.

True if the provided value is a valid logger level keyword.
sourceraw docstring

warncljmacro

(warn message & more)
(warn throwable message & more)

Warn level logging using print-style args.

Warn level logging using print-style args.
sourceraw docstring

warnfcljmacro

(warnf fmt & fmt-args)
(warnf throwable fmt & fmt-args)

Warn level logging using format.

Warn level logging using format.
sourceraw docstring

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

× close