(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close