Liking cljdoc? Tell your friends :D

datalogger.utils


attemptcljmacro

(attempt)
(attempt x)
(attempt x & next)

Returns result of first form that doesn't throw and doesn't return nil.

Returns result of first form that doesn't throw and doesn't return nil.
sourceraw docstring

categorize-argumentsclj

(categorize-arguments args)
source

compile-filterclj

(compile-filter levels)
source

deep-mergeclj

(deep-merge & maps)
source

get*clj

(get* m k)
(get* m k not-found)

Like clojure.core/get except treats strings and keywords as interchangeable and not-found as the result if there is no found value or if the found value is nil.

Like clojure.core/get except treats strings and keywords
as interchangeable and not-found as the result if there is
no found value *or* if the found value is nil.
sourceraw docstring

get-in*clj

(get-in* m ks)
(get-in* m ks not-found)

Like clojure.core/get-in except built atop get*.

Like clojure.core/get-in except built atop get*.
sourceraw docstring

iterable?clj

(iterable? x)

Is collection like or a single value?

Is collection like or a single value?
sourceraw docstring

level->intclj

(level->int level)
source

logger->hierarchyclj

(logger->hierarchy logger)
source

parse-best-guessclj

(parse-best-guess s)
source

parse-booleanclj

(parse-boolean s)
source

parse-numberclj

(parse-number s)
source

quietlycljmacro

(quietly & body)

Execute the body and return nil if there was an error

Execute the body and return nil if there was an error
sourceraw docstring

serialize-exceptionclj

(serialize-exception e)
source

templateclj

(template text context)

A simple string templating function that replaces {x.y.z} placeholders with values from the context.

A simple string templating function that replaces {x.y.z} placeholders with values from the context.
sourceraw docstring

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

× close