clunk's logging, with nothing to install. On the JVM it goes to the System.Logger named "clunk", which java.util.logging handles unless a bridge such as slf4j-jdk-platform-logging routes it elsewhere. On Node, debug messages go to util.debuglog, so NODE_DEBUG=clunk shows them, and errors to console.error.
clunk's logging, with nothing to install. On the JVM it goes to the System.Logger named "clunk", which java.util.logging handles unless a bridge such as slf4j-jdk-platform-logging routes it elsewhere. On Node, debug messages go to util.debuglog, so NODE_DEBUG=clunk shows them, and errors to console.error.
(debug msg)(debug msg x)Logs msg at debug level, followed by x unless it's nil: an exception's stack trace, or anything else as pr-str prints it.
Logs msg at debug level, followed by x unless it's nil: an exception's stack trace, or anything else as pr-str prints it.
(error msg e)Logs msg and the exception e at error level.
Logs msg and the exception e at error level.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |