Liking cljdoc? Tell your friends :D

com.brunobonacci.mulog.utils


deep-mergeclj

(deep-merge & maps)

Like merge, but merges maps recursively. It merges the maps from left to right and the right-most value wins. It is useful to merge the user defined configuration on top of the default configuration.

Like merge, but merges maps recursively. It merges the maps from left
to right and the right-most value wins. It is useful to merge the
user defined configuration on top of the default configuration.
sourceraw docstring

defaliascljmacro

(defalias dest src)

Create a local var with the same value of a var from another namespace

Create a local var with the same value of a var from another namespace
sourceraw docstring

edn-strclj

(edn-str v & {:keys [pretty?] :or {pretty? false}})

Return a EDN representation of the given value. Same as pr-str but without ellipsis.

Return a EDN representation of the given value.
Same as `pr-str` but without ellipsis.
sourceraw docstring

exception-stacktraceclj

(exception-stacktrace x)

returns a string representation of an exception and its stack-trace

returns a string representation of an exception and its stack-trace
sourceraw docstring

fast-assocclj

(fast-assoc a k v)

Like assoc but only takes one kv pair. Slightly faster.

Like assoc but only takes one kv pair. Slightly faster.
sourceraw docstring

fast-map-mergeclj

(fast-map-merge x y)

Returns a map that consists of the second of the maps assoc-ed onto the first. If a key occurs in more than one map, the mapping from te latter (left-to-right) will be the mapping in the result.

Returns a map that consists of the second of the maps assoc-ed onto
the first. If a key occurs in more than one map, the mapping from
te latter (left-to-right) will be the mapping in the result.
sourceraw docstring

iso-datetime-from-millisclj

(iso-datetime-from-millis millis)

Returns a ISO 8601 formatted string of the given UTC timestamp in milliseconds

Returns a ISO 8601 formatted string of the given UTC timestamp in milliseconds
sourceraw docstring

java-versionclj

(java-version)

It returns the current Java major version as a number

It returns the current Java major version as a number
sourceraw docstring

map-valuesclj

(map-values f m)

Applies f to all the value of the map m

Applies f to all the value of the map m
sourceraw docstring

os-java-pidcljmacro

(os-java-pid)

it returns the OS pid for the current java process.

it returns the OS pid for the current java process.
sourceraw docstring

pprint-eventclj

(pprint-event m)

pretty print event

pretty print event
sourceraw docstring

pprint-event-strclj

(pprint-event-str m)

pretty print event to a string

pretty print event to a string
sourceraw docstring

puidclj

(puid)

It returns a random 192-bit unique id

It returns a random 192-bit unique id
sourceraw docstring

random-uidclj

(random-uid)

It returns a random 128-bit unique id with a base 36 encoding

It returns a random 128-bit unique id with a base 36 encoding
sourceraw docstring

remove-nilsclj

(remove-nils m)

recursively remove nils from maps (in keys or values)

recursively remove nils from maps (in keys or values)
sourceraw docstring

thread-localclj

(thread-local)
(thread-local init)

A thread-local variable which can be deref'd

A thread-local variable which can be deref'd
sourceraw docstring

thread-local-bindingcljmacro

(thread-local-binding binding & body)

Like the binding macro but for thread-local vars. (only 1 binding is supported)

Like the `binding` macro but for thread-local vars. (only 1 binding is supported)
sourceraw docstring

try-parse-longclj

(try-parse-long value)
source

uuidclj

(uuid)

It returns a random UUID as string

It returns a random UUID as string
sourceraw docstring

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

× close