Liking cljdoc? Tell your friends :D

cutty-sark.logging

This is drop-in replacement for io.pedestal.log. Wraps pedestal logging, serialising to json instead of edn and providing request correlation for better visibility

This is drop-in replacement for io.pedestal.log.
Wraps pedestal logging, serialising to json instead of edn
and providing request correlation for better visibility
raw docstring

context-filterclj

source

debugcljmacro

(debug & keyvals)
source

errorcljmacro

(error & keyvals)
source

infocljmacro

(info & keyvals)
source

json-formatterclj

(json-formatter args-map)

Tries to serialize log arguments to json. If it fails, then produces a json with raw key and value generated by pr-str

Tries to serialize log arguments to json.
If it fails, then produces a json with raw key and value generated by pr-str
sourceraw docstring

replace-formatterclj

(replace-formatter)
(replace-formatter formatter)

Use this in your local development setup to produce more readable logs locally

Use this in your local development setup to produce more readable logs locally
sourceraw docstring

set-context-filter!clj

(set-context-filter! ctx->ctx)
source

spycljmacro

(spy expr)

Logs expr and its value at DEBUG level, returns value.

Logs expr and its value at DEBUG level, returns value.
sourceraw docstring

tracecljmacro

(trace & keyvals)
source

warncljmacro

(warn & keyvals)
source

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

× close