Liking cljdoc? Tell your friends :D

cljfmt.task.print

Common utilities for output and option sharing.

Common utilities for output and option sharing.
raw docstring

*options*clj

Runtime options.

Runtime options.
sourceraw docstring

colorizeclj

(colorize s color)

Wrap the string in ANSI escape sequences to render the named color.

Wrap the string in ANSI escape sequences to render the named color.
sourceraw docstring

logclj

(log & messages)

Log a message which will only be printed when verbose output is enabled.

Log a message which will only be printed when verbose output is enabled.
sourceraw docstring

logfclj

(logf message & fmt-args)

Log a formatted message which will only be printed when verbose output is enabled.

Log a formatted message which will only be printed when verbose output is
enabled.
sourceraw docstring

optionclj

(option k)

Return the value set for the given option, if any.

Return the value set for the given option, if any.
sourceraw docstring

(print-cause-trace tr)

Like print-stack-trace but prints chained exceptions (causes).

Like print-stack-trace but prints chained exceptions (causes).
sourceraw docstring

(print-stack-trace tr)

Prints a Clojure-oriented stack trace of tr, a Throwable. Prints a maximum of 100 stack frames. Does not print chained exceptions (causes).

Prints a Clojure-oriented stack trace of tr, a Throwable. Prints a maximum
of 100 stack frames. Does not print chained exceptions (causes).
sourceraw docstring

(print-throwable tr)

Prints the class and message of a Throwable.

Prints the class and message of a Throwable.
sourceraw docstring

(print-trace-element e)

Prints a Clojure-oriented view of one element in a stack trace.

Prints a Clojure-oriented view of one element in a stack trace.
sourceraw docstring

printerrclj

(printerr & messages)

Print a message to standard error.

Print a message to standard error.
sourceraw docstring

printerrfclj

(printerrf message & fmt-args)

Print a message to standard error with formatting.

Print a message to standard error with formatting.
sourceraw docstring

with-optionscljmacro

(with-options opts & body)

Evaluate the expressions in body with the print options bound to opts.

Evaluate the expressions in `body` with the print options bound to `opts`.
sourceraw docstring

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

× close