Logging implementation logic and integration with SLF4J.
Logging implementation logic and integration with SLF4J.
(blocked? logger)
True if the logger is blocked by configuration, otherwise false.
True if the logger is blocked by configuration, otherwise false.
(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.
Global logging configuration reference.
Global logging configuration reference.
(debug message & more)
(debug throwable message & more)
Debug level logging using print-style args.
Debug level logging using print-style args.
(debugf fmt & fmt-args)
(debugf throwable fmt & fmt-args)
Debug level logging using format.
Debug level logging using format.
(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.
(error message & more)
(error throwable message & more)
Error level logging using print-style args.
Error level logging using print-style args.
(errorf fmt & fmt-args)
(errorf throwable fmt & fmt-args)
Error level logging using format.
Error level logging using format.
(fatal message & more)
(fatal throwable message & more)
Fatal level logging using print-style args.
Fatal level logging using print-style args.
(fatalf fmt & fmt-args)
(fatalf throwable fmt & fmt-args)
Fatal level logging using format.
Fatal level logging using format.
(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.
(get-levels)
Return a map of all configured logger names to level keywords.
Return a map of all configured logger names to level keywords.
(info message & more)
(info throwable message & more)
Info level logging using print-style args.
Info level logging using print-style args.
(infof fmt & fmt-args)
(infof throwable fmt & fmt-args)
Info level logging using format.
Info level logging using format.
(initialize!)
Load and initialize the logging system configuration.
Load and initialize the logging system configuration.
(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.
(log-event event)
Pass an event into the logging system.
Pass an event into the logging system.
(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.
(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.
(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.
(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.
(tracef fmt & fmt-args)
(tracef throwable fmt & fmt-args)
Trace level logging using format.
Trace level logging using format.
(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.
(warn message & more)
(warn throwable message & more)
Warn level logging using print-style args.
Warn level logging using print-style args.
(warnf fmt & fmt-args)
(warnf throwable fmt & fmt-args)
Warn level logging using format.
Warn level logging using format.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close