Common utilities for output and option sharing.
Common utilities for output and option sharing.
(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.
(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.
(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.
(option k)
Return the value set for the given option, if any.
Return the value set for the given option, if any.
(printerr & messages)
Print a message to standard error.
Print a message to standard error.
(printerrf message & fmt-args)
Print a message to standard error with formatting.
Print a message to standard error with formatting.
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close