(ansi-wrap color s)(debug & args)(debugf fmt & args)(emit! level message)(enabled? level)(error & args)(errorf fmt & args)(info & args)(infof fmt & args)(join-args args)(level)(log level & args)Log at the provided level keyword. Accepts the same argument patterns used by the original clojure.tools.logging macros (variadic args).
Log at the provided level keyword. Accepts the same argument patterns used by the original clojure.tools.logging macros (variadic args).
(log* level message-fn)(logf level fmt & args)Log using a format string and arguments.
Log using a format string and arguments.
(padded-label label)(redact-secrets conf)Returns the app config with its credentials masked, for logging. The config holds the password or session token for the whole run, and verbose output often ends up in CI logs.
Returns the app config with its credentials masked, for logging. The config holds the password or session token for the whole run, and verbose output often ends up in CI logs.
(render-arg arg)(render-throwable t)(set-level! level)Set the minimum level that will be emitted. Accepts a keyword or string. Levels (least to most severe): :trace, :debug, :info, :warn, :error.
Set the minimum level that will be emitted. Accepts a keyword or string. Levels (least to most severe): :trace, :debug, :info, :warn, :error.
(set-verbosity! verbosity)Set the logging threshold given a verbosity count (e.g. from repeated -v flags). 0 => :info, 1 => :debug, 2+ => :trace.
Set the logging threshold given a verbosity count (e.g. from repeated -v flags). 0 => :info, 1 => :debug, 2+ => :trace.
(spy expr)(spy level expr)Log the value of an expression at the given level (default :debug) and return the value.
Log the value of an expression at the given level (default :debug) and return the value.
(spyf fmt expr)(spyf level fmt expr)Log the value of an expression with a format string at the given level (default :debug) and return the value.
Log the value of an expression with a format string at the given level (default :debug) and return the value.
(trace & args)(tracef fmt & args)(warn & args)(warnf fmt & args)(with-log-writers out-writer err-writer & body)Bind logging STDOUT/STDERR writers for the enclosed body. Accepts either java.io.Writer instances or nil to keep current bindings.
Bind logging STDOUT/STDERR writers for the enclosed body. Accepts either java.io.Writer instances or nil to keep current bindings.
(with-log-writers* out-writer err-writer f)Execute f while binding the logging and standard output writers to the
provided values (if non-nil).
Execute `f` while binding the logging and standard output writers to the provided values (if non-nil).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |