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
(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
(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
(spy expr)
Logs expr and its value at DEBUG level, returns value.
Logs expr and its value at DEBUG level, returns value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close