Liking cljdoc? Tell your friends :D
Clojure only.

ring-curl.middleware


wrap-curl-loggingclj

(wrap-curl-logging handler
                   &
                   [{:keys [level options]
                     :or {level :debug options default-options}}])

Middleware to log the request as curl, logs using clojure.tools.logging and logs as :debug by default.

Accepts the following options:

:level - the logging level to use :options - the options to pass to pass to the to-curl function

Middleware to log the request as curl, logs using clojure.tools.logging and logs
as :debug by default.

Accepts the following options:

:level          - the logging level to use
:options        - the options to pass to pass to the to-curl function
sourceraw docstring

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

× close