Liking cljdoc? Tell your friends :D

deercreeklabs.log-utils


debugsclj/s≠macro

clj
(debugs & syms)
cljs
(debugs &form &env & syms)
source (clj)source (cljs)

do-spyclj/smacro

(do-spy label x)
source (clj)source (cljs)

get-current-time-msclj/s

(get-current-time-ms)
source

get-exception-msgclj/s

(get-exception-msg e)

Inputs: [e] Returns: s/Str

Inputs: [e]
Returns: s/Str
sourceraw docstring

get-exception-msg-and-stacktraceclj/s

(get-exception-msg-and-stacktrace e)

Inputs: [e] Returns: s/Str

Inputs: [e]
Returns: s/Str
sourceraw docstring

get-exception-stacktraceclj/s

(get-exception-stacktrace e)

Inputs: [e] Returns: s/Str

Inputs: [e]
Returns: s/Str
sourceraw docstring

log-exceptionclj/s

(log-exception e)
source

pprint*clj/s

(pprint* x)

Pretty-prints its argument. Color is used in clj, but not cljs.

Pretty-prints its argument. Color is used in clj, but not cljs.
sourceraw docstring

pprint-strclj/s

(pprint-str x)

Like pprint, but returns a string.

Like pprint, but returns a string.
sourceraw docstring

short-log-output-fnclj/s

(short-log-output-fn data)

Inputs: [data :- {(s/required-key :level) s/Keyword, s/Any s/Any}] Returns: s/Str

Inputs: [data :- {(s/required-key :level) s/Keyword, s/Any s/Any}]
Returns: s/Str
sourceraw docstring

spyclj/smacro

(spy x label)

For debugging in -> expressions. Identical to spy-first.

For debugging in -> expressions.  Identical to spy-first.
source (clj)source (cljs)raw docstring

spy-firstclj/smacro

(spy-first x label)

For debugging in -> expressions. Identical to spy.

For debugging in -> expressions. Identical to spy.
source (clj)source (cljs)raw docstring

spy-lastclj/smacro

(spy-last label x)

For debugging in ->> expressions.

For debugging in ->> expressions.
source (clj)source (cljs)raw docstring

sym-mapclj/s≠macro

clj
(sym-map & syms)
cljs
(sym-map &form &env & syms)

Builds a map from symbols. Symbol names are turned into keywords and become the map's keys. Symbol values become the map's values. (let [a 1 b 2] (sym-map a b)) => {:a 1 :b 2}

Builds a map from symbols.
 Symbol names are turned into keywords and become the map's keys.
 Symbol values become the map's values.
(let [a 1
      b 2]
  (sym-map a b))  =>  {:a 1 :b 2}
source (clj)source (cljs)raw docstring

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

× close