Skip to main content

Logging

43
  • *logger-factory*

    An instance satisfying the clojure.tools.logging.impl/LoggerFactory protocol, which allows uniform access to an underl...

  • -log!

    Core low-level log fn. Private, don't use!

  • debug

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

  • debugf

    Debug level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

  • error

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

  • errorf

    Error level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

  • info

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

  • infof

    Info level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

  • log

    Evaluates and logs a message only if the specified level is enabled. See log* for more details.

  • log!

    Core low-level log macro. Useful for tooling/library authors, etc. * `level` - must eval to a valid logging l...

  • log*

    Attempts to log a message, either directly or via an agent; does not check if the level is enabled. For performance...

  • logf

    Logs a message using a format string and args. Can optionally take a throwable as its second arg. See level-specific m...

  • logp

    Logs a message using print style args. Can optionally take a throwable as its second arg. See level-specific macros, e...

  • may-log?

    Private, don't use. Returns true iff level and ns are runtime unfiltered.

  • println-appender

    Returns a simple `println` appender for Clojure/Script. Use with ClojureScript requires that `cljs.core/*print-fn*` be...

  • set-level!

    Prefer `set-min-level!.`

  • set-ns-min-level

    Returns given Timbre `config` with its `:min-level` modified so that the given namespace has the specified minimum log...

  • set-ns-min-level!

    Like `set-ns-min-level` but directly modifies `*config*`. Can conveniently set the minimum log level for the curre...

  • spit-appender

    Returns a simple `spit` file appender for Clojure.

  • spy

    Evaluates named form and logs its result. Always returns the result. Defaults to `:debug` logging level, and uneval...

  • trace

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

  • tracef

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

  • warn

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

  • warnf

    Warn level logging using format. Use the 'logging.readable' namespace to avoid wrapping args in pr-str.

  • with-level

    Prefer `with-min-level`.