Logging 1.0

Released under the Apache Sofware License 2.0

Clojure logging with Logback and SLF4J plus request correlation across servers.

Installation

To install, add the following dependency to your project or build file:

[io.aviso/logging "1.0"]

Namespaces

io.aviso.logging.capture

Capture logged events for in-process debugging and testing.

io.aviso.logging.correlation

Defines a minimal namespace containing a dynamic Var used to propogate the correlation id into the logging layer.

io.aviso.logging.mdc

Allows arbitrary keys and values to be added to the event MDC.

Public variables and functions:

io.aviso.logging.setup

Enables pretty exception reporting in the REPL and/or console, and sets up pretty exception logging when using clojure.tools.logging. Also installs an default uncaught exception handler, and initializes logging correlation id.

Public variables and functions: