Liking cljdoc? Tell your friends :D

timbre-json-appender.core


collect-vargsclj

(collect-vargs vargs)
source

count-format-specifiersclj

(count-format-specifiers format-string)
source

handle-vargsclj

(handle-vargs log-map ?msg-fmt vargs inline-args?)
source

installclj

(install)
(install {:keys [level min-level pretty inline-args? level-key]
          :or {level-key :level pretty false inline-args? true}})

Installs json-appender as the sole appender for Timbre, options

level: Timbre log level (deprecated, prefer min-level) min-level: Timbre log level pretty: Pretty-print JSON inline-args? Place arguments on top level, instead of placing behing args field

Installs json-appender as the sole appender for Timbre, options

`level`:       Timbre log level (deprecated, prefer min-level)
`min-level`:   Timbre log level
`pretty`:      Pretty-print JSON
`inline-args?` Place arguments on top level, instead of placing behing `args` field
sourceraw docstring

json-appenderclj

(json-appender)
(json-appender {:keys [pretty inline-args? level-key]
                :or {pretty false inline-args? false level-key :level}})

Creates Timbre configuration map for JSON appender

Creates Timbre configuration map for JSON appender
sourceraw docstring

log-failureclj

(log-failure t request-method uri)
source

log-successclj

(log-success request-method uri status)
source

object-mapperclj

(object-mapper opts)
source

wrap-json-loggingclj

(wrap-json-logging handler)

Ring middleware for JSON logging. Logs :method, :uri and :status for successful handler invocations, :method and :uri for failed invocations.

Ring middleware for JSON logging. Logs :method, :uri and :status for successful handler invocations,
:method and :uri for failed invocations.
sourceraw docstring

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

× close