Liking cljdoc? Tell your friends :D

print.foo

Macros for printing diagnostic information while debugging or developing.

Macros for printing diagnostic information while debugging or developing.
raw docstring

*enabled*clj/s

source

*print-fn*clj/s

source

get-milisecondsclj/s

(get-miliseconds)
source

lookcljmacro

(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 ':: '
sourceraw docstring

middleware->cljmacro

(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)
sourceraw docstring

parse-itemclj/smultimethod

source

parse-listclj/smultimethod

source

(print--> & body)

Diagnostic tool for printing the values at each step of a ->

Diagnostic tool for printing the values at each step of a `->`
sourceraw docstring

(print-->> & body)

Diagnostic tool for printing the values at each step of a ->>

Diagnostic tool for printing the values at each step of a `->>`
sourceraw docstring

(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.
sourceraw docstring

(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`
sourceraw docstring

(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->`
sourceraw docstring

(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->>`
sourceraw docstring

(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`
sourceraw docstring

(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-`
sourceraw docstring

(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`
sourceraw docstring

(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`
sourceraw docstring

(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
sourceraw docstring

tapclj/s

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
sourceraw docstring

wrap-middleware-debuggingclj/s

(wrap-middleware-debugging handler
                           middleware-name
                           {:keys [get-in summarize? timings?]
                            :or {get-in [] summarize? true timings? false}})
source

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

× close