Liking cljdoc? Tell your friends :D

active.clojure.logger.event

Facilities for logging events.

Facilities for logging events.
raw docstring

log-eventcljmacro

(log-event ?level ?msg)

Log an event, described by a level and the arguments (monadic version).

Uses current namespace as origin.

Log an event, described by a level and the arguments (monadic version).

Uses current namespace as origin.
sourceraw docstring

log-event!cljmacro

(log-event! ?level ?msg)

Log an event, described by a level and the arguments (imperative version; global config).

Uses current namespace as origin.

Log an event, described by a level and the arguments
(imperative version; global config).

Uses current namespace as origin.
sourceraw docstring

log-event*cljmacro

(log-event* ?level ?msg ?map)

Log an event with more data, described by a level and the arguments (monadic version).

Uses current namespace as origin.

Log an event with more data, described by a level and the arguments (monadic version).

Uses current namespace as origin.
sourceraw docstring

log-event-with-context!cljmacro

(log-event-with-context! ?context ?level ?msg)

Log an event, described by a level and the arguments (imperative version; global config).

Uses current namespace as origin.

Log an event, described by a level and the arguments
(imperative version; global config).

Uses current namespace as origin.
sourceraw docstring

log-events-command-configclj

source

log-exception-eventcljmacro

(log-exception-event ?level ?msg ?throwable)

Log an exception event, described by a level and the arguments (monadic version).

Uses current namespace as origin.

Log an exception event, described by a level and the arguments (monadic version).

Uses current namespace as origin.
sourceraw docstring

log-exception-event!cljmacro

(log-exception-event! ?level ?msg ?throwable)

Log an exception event.

Log an exception event.
sourceraw docstring

log-exception-event*cljmacro

(log-exception-event* ?level ?msg ?throwable ?map)

Log an exception event, described by a level and the arguments (monadic version).

Uses current namespace as origin.

Log an exception event, described by a level and the arguments (monadic version).

Uses current namespace as origin.
sourceraw docstring

log-exception-event-with-context!cljmacro

(log-exception-event-with-context! ?context ?level ?msg ?throwable)

Log an exception event.

Log an exception event.
sourceraw docstring

log-msgcljmacro

(log-msg & ?args)

Convenience macro for assembling a log message from objects.

Convenience macro for assembling a log message from objects.
sourceraw docstring

nil->strclj

(nil->str x)
source

run-log-eventsclj

(run-log-events run-any env mstate m)
source

set-global-log-events-config!clj

source

set-global-log-events-config-from-map!clj

source

with-log-contextclj

(with-log-context context body)

Construct a WithLogContext (Execute a command within a log context. The context is a map that is merged with the log context that's already active, if present.) record.

context: access via active.clojure.logger.event/with-log-context-context body: access via active.clojure.logger.event/with-log-context-body

Construct a `WithLogContext` (Execute a command within
  a log context.  The context is a map that is merged
  with the log context that's already active, if present.) record.

`context`: access via [[active.clojure.logger.event/with-log-context-context]]
`body`: access via [[active.clojure.logger.event/with-log-context-body]]
sourceraw docstring

with-log-context-bodyclj

(with-log-context-body rec__3150__auto__)
(with-log-context-body data__3151__auto__ v__3152__auto__)

Lens for the body field from a WithLogContext record. See active.clojure.logger.event/with-log-context.

Lens for the `body` field from a [[WithLogContext]] record. See [[active.clojure.logger.event/with-log-context]].
sourceraw docstring

with-log-context-contextclj

(with-log-context-context rec__3150__auto__)
(with-log-context-context data__3151__auto__ v__3152__auto__)

Lens for the context field from a WithLogContext record. See active.clojure.logger.event/with-log-context.

Lens for the `context` field from a [[WithLogContext]] record. See [[active.clojure.logger.event/with-log-context]].
sourceraw docstring

with-log-context?clj

(with-log-context? thing)

Is object a WithLogContext record? See active.clojure.logger.event/with-log-context.

Is object a `WithLogContext` record? See [[active.clojure.logger.event/with-log-context]].
sourceraw docstring

WithLogContextclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close