Liking cljdoc? Tell your friends :D

lambdaisland.glogi


add-handlercljs

(add-handler handler-fn)
(add-handler name handler-fn)

Add a log handler to the given logger, or to the root logger if no logger is specified. The handler is a function which receives a map as its argument.

Add a log handler to the given logger, or to the root logger if no logger is
specified. The handler is a function which receives a map as its argument.
sourceraw docstring

add-handler-oncecljs

(add-handler-once handler-fn)
(add-handler-once name handler-fn)
source

configclj/smacro

(config & keyvals)
source

console-autoinstall!cljs

(console-autoinstall!)

Log to the browser console if the browser location contains Debug=true.

Log to the browser console if the browser location contains Debug=true.
sourceraw docstring

debugclj/smacro

(debug & keyvals)
source

enable-console-logging!cljs

(enable-console-logging!)

Log to the browser console. This uses goog.debug.Console directly, use [lambdaisland.glogi.console/install!] for a version that plays nicely with cljs-devtools.

Log to the browser console. This uses goog.debug.Console directly,
use [lambdaisland.glogi.console/install!] for a version that plays nicely with
cljs-devtools.
sourceraw docstring

errorclj/smacro

(error & keyvals)
source

fineclj/smacro

(fine & keyvals)
source

finerclj/smacro

(finer & keyvals)
source

finestclj/smacro

(finest & keyvals)
source

infoclj/smacro

(info & keyvals)
source

levelcljs

(level lvl)
source

level-valuecljs

(level-value lvl)

Get the numeric value of a log level (keyword).

Get the numeric value of a log level (keyword).
sourceraw docstring

levelscljs

source

logcljs

(log name lvl message)
(log name lvl message exception)

Output a log message to the given logger, optionally with an exception to be logged.

Output a log message to the given logger, optionally with an exception to be
logged.
sourceraw docstring

log-to-div!cljs

(log-to-div! element)

Log messages to an element on the page. Returns the DivConsole instance.

Log messages to an element on the page. Returns the DivConsole instance.
sourceraw docstring

loggercljs

(logger n)
(logger n level)

Get a logger by name, and optionally set its level. Name can be a string, keyword, or symbol. The special keyword :glogi/root returns the root logger.

Get a logger by name, and optionally set its level. Name can be a string,
keyword, or symbol. The special keyword :glogi/root returns the root logger.
sourceraw docstring

make-log-recordcljs

(make-log-record level message name exception)
source

name-strcljs

(name-str x)
source

(popup-logger-window!)

Pop up a browser window which will display log messages. Returns the FancyWindow instance.

Pop up a browser window which will display log messages. Returns the FancyWindow instance.
sourceraw docstring

remove-handlercljs

(remove-handler handler-fn)
(remove-handler name handler-fn)
source

root-loggercljs

source

set-levelcljs

(set-level name lvl)

Set the level (a keyword) of the given logger, identified by name.

Set the level (a keyword) of the given logger, identified by name.
sourceraw docstring

set-levelscljs

(set-levels lvls)

Convenience function for setting several levels at one. Takes a map of logger name => level keyword.

Convenience function for setting several levels at one. Takes a map of logger name => level keyword.
sourceraw docstring

severeclj/smacro

(severe & keyvals)
source

shoutclj/smacro

(shout & keyvals)
source

spyclj/smacro

(spy form)
source

traceclj/smacro

(trace & keyvals)
source

warnclj/smacro

(warn & keyvals)
source

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

× close