Liking cljdoc? Tell your friends :D

std.log.form


debugcljmacro

(debug data)
(debug context data)
(debug logger context data)

deflog-datacljmacro

(deflog-data levels)

creates a standard form given a type

creates a standard form given a type
raw docstring

deflog-errorcljmacro

(deflog-error levels)

creates a standard form given a type

creates a standard form given a type
raw docstring

errorcljmacro

(error exception)
(error context exception)
(error logger context exception)

fatalcljmacro

(fatal exception)
(fatal context exception)
(fatal logger context exception)

infocljmacro

(info data)
(info context data)
(info logger context data)

logcljmacro

(log data)
(log context data)
(log level context data)
(log logger level context data)
(log logger level context data exception)

produces a log

produces a log
raw docstring

log-checkclj

(log-check level)

checks to see if form should be ignored

(log-check :debug) => true

checks to see if form should be ignored

(log-check :debug)
=> true
raw docstring

log-contextclj

(log-context body)

creates a log-context form

(log-context "hello") => seq?

creates a log-context form

(log-context "hello")
=> seq?
raw docstring

log-data-formclj

(log-data-form level)

creates a standard form given a type

creates a standard form given a type
raw docstring

log-error-formclj

(log-error-form level)

creates forms for warn, fatal

creates forms for  `warn`, `fatal`
raw docstring

log-fnclj

(log-fn logger level data exception context)

actual log function for function application

actual log function for function application
raw docstring

log-formclj

(log-form level id form logger context data exception preset)

function for not including log forms on static compilation

function for not including log forms on static compilation
raw docstring

log-function-nameclj

(log-function-name name)

gets the function name

(log-function-name "ns$function_name") => "function-name"

gets the function name

(log-function-name "ns$function_name")
=> "function-name"
raw docstring

log-metaclj

(log-meta form)

gets the metadata information on macroexpand

gets the metadata information on macroexpand
raw docstring

log-runtimeclj


log-runtime-rawclj

(log-runtime-raw id ns)

returns the runtime information of the log entry

(set (keys (log-runtime-raw nil "std.log.form-test"))) => #{:log/function :log/method :log/filename}

returns the runtime information of the log entry

(set (keys (log-runtime-raw nil "std.log.form-test")))
=> #{:log/function :log/method :log/filename}
raw docstring

to-contextclj

(to-context context)

converts a string to a log context

(to-context "hello") => #:log{:message "hello"}

converts a string to a log context

(to-context "hello")
=> #:log{:message "hello"}
raw docstring

verbosecljmacro

(verbose data)
(verbose context data)
(verbose logger context data)

warncljmacro

(warn data)
(warn context data)
(warn logger context data)

with-contextcljmacro

(with-context context & body)

applies a context to the current one

applies a context to the current one
raw docstring

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

× close