The options are:
- (when (condition? ...) (debug ...))
- Altering of your logging library's configuration file (some logging
libs support reloads at runtime, iirc)
- Altering your logging library's configuration directly in code
(implementation-specific)
- Provide your own clo
I would like to conditionally generate log statements based on run-time checks
of various application-specific info.
I note the following:
Logging levels are specified by clojure keywords corresponding to the values
used in log4j and commons-logging:
:trace, :debug, :info, :warn, :error, :fat