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

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

Log to the browser console
sourceraw docstring

errorclj/smacro

(error & keyvals)
source

levelcljs

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.

Log messages to an element on the page.
sourceraw docstring

loggercljs

(logger name)
(logger name level)

Get a logger by name, and optionally set its level.

Get a logger by name, and optionally set its level.
sourceraw docstring

(popup-logger-window!)

Pop up a browser window which will display log messages.

Pop up a browser window which will display log messages.
sourceraw docstring

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

traceclj/smacro

(trace & keyvals)
source

warnclj/smacro

(warn & keyvals)
source

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

× close