@@ -37,25 +37,25 @@ compile "org.clojure:tools.logging:1.1.0"
3737Logging occurs with the ` log ` macro, or the level-specific convenience macros
3838(e.g., ` debug ` , ` debugf ` ). Only when the specified logging level is enabled will
3939the message arguments be evaluated and the underlying logging implementation be
40- invoked. By default that invocation will occur via an agent when inside a running
41- STM transaction.
40+ invoked. By default, that invocation will occur via an agent when inside a
41+ running STM transaction.
4242
4343### Namespacing of log entries
4444
4545Unless otherwise specified, the current namespace (as identified by ` *ns* ` ) will
46- be used as the log-ns. This value can be emitted in the log entry, and used by most
47- logging implementations when using namespace-specific logging levels .
46+ be used as the "logger name" when interacting with logging implementations. Most
47+ logging implementations allow for varying configuration by logger name .
4848
49- Note: You should configure your logging implementation to display the name that
50- was passed to it. If it instead performs stack-inspection you'll see some ugly
51- and unhelpful text in your logs.
49+ Note: You should configure your logging implementation to display the logger
50+ name that was passed to it. If it instead the logging implementation performs
51+ stack-inspection you'll see some ugly and unhelpful text in your logs.
5252
5353### Redirecting output to logs
5454
5555You can redirect all java writes of ` System.out ` and ` System.err ` to the log
5656system by calling ` log-capture! ` . To bind ` *out* ` and ` *err* ` to the log system
57- invoke ` with-logs ` . In both cases a log-ns value must be specified in order to
58- namespace the output .
57+ invoke ` with-logs ` . In both cases a logger name must be provided in lieu of
58+ using ` *ns* ` .
5959
6060## Configuration
6161
0 commit comments