spy
.com.lambdaisland
as well as lambdaisland
, see https://github.com/lambdaisland/open-source/issues/9:info
for the root loggerns
, which caused cljs logs to faillevel-value
, which is
used by the console handlercom.lambdaisland/glogi
in line with Clojars policylogger
from erasing the log levellambdaisland.glogc
there is now an official way to use the
Glogi/Pedestal-log combo in a consistent cross-platform waylambdaisland.glogi.console.colorize
can now take four
possible values, "true"
(use console.log
CSS formatting), "false"
(log
plain text), "raw"
, log objects directly (good for cljs-devtools), or
"auto"
(detect most suitable option)logger
:trace
is now an
alias for :finer
, :debug
for :fine
(before :trace
= :fine
, :debug
= :config
)config
macro, which logs to the corresponding log levelspy
macro, logs the expression and its return value, returns the valueshout
,
severe
, fine
, finer
, finest
:glogi/root
to find the root logger.set-levels
to match its docstring. Takes a map.LogBuffer/CAPACITY
hack, to prevent issues with advanced
compilationset-level
for convenienceset-level
lambdaisland.glogi.console
provides an alternative to goog.debug.Console
,
with the main benefit that it will log full data structures, thus playing
nicely with cljs-devtoolsinfo
macro for compat with pedestal.identity
instead of pr-str
. This way we
preserve full data structures until the last minute. Note that goog.debug.Logger
will stringify the message, unless care is taken for it not to.First release
Can you improve this documentation? These fine people already did:
Arne Brasseur, A Brooks, Alys Brooks & rome-userEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close