Macros for printing diagnostic information while debugging or developing.
Macros for printing diagnostic information while debugging or developing.
(look sexp)
Like print-and-return, except always prefixes with the uppercased sexp followed by ':: '
Like print-and-return, except always prefixes with the uppercased sexp followed by ':: '
(middleware-> handler & middlewares)
(middleware-> handler options & middlewares)
Log middleware options are:
{:get-in <path to print into the request and response> :timings? <print timing info for each handler?>
Ex. (middleware-> {:get-in [:session] :timings? true}} my-handler wrap-exception-handling wrap-params)
Log middleware options are: {:get-in <path to print into the request and response> :timings? <print timing info for each handler?> Ex. (middleware-> {:get-in [:session] :timings? true}} my-handler wrap-exception-handling wrap-params)
(print--> & body)
Diagnostic tool for printing the values at each step of a ->
Diagnostic tool for printing the values at each step of a `->`
(print-->> & body)
Diagnostic tool for printing the values at each step of a ->>
Diagnostic tool for printing the values at each step of a `->>`
(print-and-return & xs)
Diagnostic tool for printing the result of evaluating an s-expression. Any initial args over 1, are printed as strings, and generally used as a label.
Diagnostic tool for printing the result of evaluating an s-expression. Any initial args over 1, are printed as strings, and generally used as a label.
(print-cond & body)
Diagnostic tool for printing the values at each step of a cond
Diagnostic tool for printing the values at each step of a `cond`
(print-cond-> & body)
Diagnostic tool for printing the values at each step of a cond->
Diagnostic tool for printing the values at each step of a `cond->`
(print-cond->> & body)
Diagnostic tool for printing the values at each step of a cond->>
Diagnostic tool for printing the values at each step of a `cond->>`
(print-defn fn-name arg-vec & body)
Diagnostic tool for printing the values at each step of a defn
Diagnostic tool for printing the values at each step of a `defn`
(print-defn- fn-name arg-vec & body)
Diagnostic tool for printing the values at each step of a defn-
Diagnostic tool for printing the values at each step of a `defn-`
(print-if test expr1 expr2)
Diagnostic tool for printing the values at each step of an if
Diagnostic tool for printing the values at each step of an `if`
(print-let bindings & body)
Diagnostic tool for printing the values at each step of a let
Diagnostic tool for printing the values at each step of a `let`
(print-sexp sexp)
Diagnostic tool for printing the values at each step of a given s-expression
Diagnostic tool for printing the values at each step of a given s-expression
Quicker-to-type version of print-and-return
with " *** " appended to the front
Quicker-to-type version of `print-and-return` with " *** " appended to the front
(wrap-middleware-debugging handler
middleware-name
{:keys [get-in summarize? timings?]
:or {get-in [] summarize? true timings? false}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close