Liking cljdoc? Tell your friends :D

mirthsync.logging


*err-writer*clj


*out-writer*clj


ansi-wrapclj

(ansi-wrap color s)

debugcljmacro

(debug & args)

debugfcljmacro

(debugf fmt & args)

emit!clj

(emit! level message)

enabled?clj

(enabled? level)

errorcljmacro

(error & args)

errorfcljmacro

(errorf fmt & args)

infocljmacro

(info & args)

infofcljmacro

(infof fmt & args)

join-argsclj

(join-args args)

levelclj

(level)

logcljmacro

(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).
raw docstring

log*clj

(log* level message-fn)

logfcljmacro

(logf level fmt & args)

Log using a format string and arguments.

Log using a format string and arguments.
raw docstring

padded-labelclj

(padded-label label)

render-argclj

(render-arg arg)

render-throwableclj

(render-throwable t)

set-level!clj

(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.
raw docstring

set-verbosity!clj

(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.
raw docstring

spycljmacro

(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.
raw docstring

spyfcljmacro

(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.
raw docstring

tracecljmacro

(trace & args)

tracefcljmacro

(tracef fmt & args)

warncljmacro

(warn & args)

warnfcljmacro

(warnf fmt & args)

with-log-writerscljmacro

(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.
raw docstring

with-log-writers*clj

(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).
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close