Liking cljdoc? Tell your friends :D

logjam.core

An experimental, task-based logging library.

An experimental, task-based logging library.
raw docstring

add-writerclj

(add-writer chan-key channel writer)

Add a log writer to a log channel.

Add a log writer to a log channel.
raw docstring

channelclj

(channel child)
(channel child parent)

Create a new log channel deriving from a parent channel, which defaults to :info if no parent channel is specified.

Create a new log channel deriving from a parent channel, which
defaults to :info if no parent channel is specified.
raw docstring

channel-tree*clj


clear-all-writersclj

(clear-all-writers)

clear-writersclj

(clear-writers channel)

color?*clj


consoleclj

(console channels)
(console channels chan-key)

Setup a log channel to output to the console. (log/console :data-importer)

Setup a log channel to output to the console.
(log/console :data-importer)
raw docstring

console-writerclj

(console-writer)

Returns a basic console writer function.

Returns a basic console writer function.
raw docstring

def-letcljmacro

(def-let bindings & more)

like let, but binds the expressions globally.

like let, but binds the expressions globally.
raw docstring

default-channel-treeclj

(default-channel-tree)

direct-logging?*clj


fileclj

(file channels path)
(file channels path chan-key)

file-writerclj

(file-writer path)

Returns a file based writer function configured to write to the file located at path.

Returns a file based writer function configured to write to the
file located at path.
raw docstring

formatcljmacro

(format channel fmt & args)

Log a formatted message to the given channel.

Log a formatted message to the given channel.
raw docstring

in-colorclj

(in-color & [color])

log-eventclj

(log-event channel args)
(log-event base-chan channel args)

Used internally to determine all channels that a log event needs to be published too.

Used internally to determine all channels that a log event needs to be
published too.
raw docstring

logging-agent*clj


printlncljmacro

(println channel & args)

Log a message to the given channel.

Log a message to the given channel.
raw docstring

remove-writerclj

(remove-writer channel chan-key)

Remove the writer registered with a channel-key for a channel.

Remove the writer registered with a channel-key for a channel.
raw docstring

replclj

(repl channels)
(repl channels chan-key)

Log output to the System/out.

This works in the nailgun repl of vimclojure, but might be more generally useful elsewhere.

Log output to the System/out.

This works in the nailgun repl of vimclojure, but might be more
generally useful elsewhere.
raw docstring

repl-writerclj

(repl-writer out-stream)

reset-channelsclj

(reset-channels)

spycljmacro

(spy channel expr)

Evaluates expr and outputs the form and its result to a channel. Returns the result of expr.

Evaluates expr and outputs the form and its result to a channel.
Returns the result of expr.
raw docstring

tocljmacro

(to & args)

tracecljmacro

(trace channel trace-symbols & form)

Outputs the trace to a log channel.

Outputs the trace to a log channel.
raw docstring

writers*clj


written?clj

(written? channel)

Are there any writers registered for this channel?

Are there any writers registered for this channel?
raw docstring

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

× close