Liking cljdoc? Tell your friends :D

datalogger.ring


default-request->dataclj

(default-request->data request)
source

default-response->dataclj

(default-response->data response)
source

wrap-loggingclj

(wrap-logging handler)
(wrap-logging handler
              {:keys [request->data response->data]
               :or {request->data default-request->data
                    response->data default-response->data}})

Defines a simple logger for ring. Logs request and response basics plus request durations. Places a request id onto the logging context to relate all logging calls made during the scope of the request.

Defines a simple logger for ring. Logs request and response basics plus request durations.
Places a request id onto the logging context to relate all logging calls made during the
scope of the request.
sourceraw docstring

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

× close