Liking cljdoc? Tell your friends :D

clj-loga.core


anonym-stringclj

source

debugcljmacro

(debug & args)
source

errorcljmacro

(error & args)
source

fatalcljmacro

(fatal & args)
source

infocljmacro

(info & args)
source

logcljmacro

(log & args)
source

log-wrappercljmacro

(log-wrapper m & body)

Wrap function body with log before and after its execution. Tag is applied if present.

  • optional keys:
    • tag - to tag log events
    • pre-log-msg - custom log message before body execution
    • :post-log-msg - custom log message after body execution
    • :operation - descriptive name for the wrapped forms
Wrap function body with log before and after its execution.
Tag is applied if present.
- optional keys:
  - tag - to tag log events
  - pre-log-msg - custom log message before body execution
  - :post-log-msg - custom log message after body execution
  - :operation - descriptive name for the wrapped forms
sourceraw docstring

obfuscate-dataclj

(obfuscate-data data keys-to-obfuscate)
source

obfuscate-keyclj

(obfuscate-key m key-to-obfuscate)
source

obfuscate-vector-keyclj

(obfuscate-vector-key m key-to-obfuscate)
source

set-log-tagcljmacro

(set-log-tag tag* & body)

Sets a tag, which is appended to the log event.

Sets a tag, which is appended to the log event.
sourceraw docstring

set-loga-hooksclj

(set-loga-hooks namespaces)
source

setup-logaclj

(setup-loga &
            {:keys [level namespaces obfuscate]
             :or {level :info namespaces [:all] obfuscate []}})

Initialise formatted logging.

Initialise formatted logging.
sourceraw docstring

tracecljmacro

(trace & args)
source

warncljmacro

(warn & args)
source

wrap-operation-with-logcljmacro

(wrap-operation-with-log m & body)
source

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

× close