diff options
author | Alexander Taggart <alex.taggart@gmail.com> | 2010-09-08 00:05:26 -0700 |
---|---|---|
committer | Alexander Taggart <alex.taggart@gmail.com> | 2010-09-08 00:05:26 -0700 |
commit | 9212f644aa7ef1f13271aa9f941d2c6f8574a571 (patch) | |
tree | c6076b44e86145a5e560d24ef2decb6367ff180a /modules | |
parent | 328f104a2d74a71ea69f582ce9b6d9059bd6f4d3 (diff) |
Fix arglist doc for level-specific macros
Diffstat (limited to 'modules')
-rw-r--r-- | modules/logging/src/main/clojure/clojure/contrib/logging.clj | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/logging/src/main/clojure/clojure/contrib/logging.clj b/modules/logging/src/main/clojure/clojure/contrib/logging.clj index ad2a80d9..99648a9e 100644 --- a/modules/logging/src/main/clojure/clojure/contrib/logging.clj +++ b/modules/logging/src/main/clojure/clojure/contrib/logging.clj @@ -36,7 +36,7 @@ be used as the log-ns (similar to how the java class name is usually used). Note: your log configuration should display the name that was passed to the logging implementation, and not perform stack-inspection, otherwise you'll see - something like \"fn__72$impl_write_BANG__39__auto____81\" in your logs. + some ugly and unhelpful text in your logs. Use the enabled? macro to write conditional code against the logging level (beyond simply whether or not to call log, which is handled automatically). @@ -258,37 +258,37 @@ (defmacro trace "Trace level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :trace ~@args)) (defmacro debug "Debug level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :debug ~@args)) (defmacro info "Info level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :info ~@args)) (defmacro warn "Warn level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :warn ~@args)) (defmacro error "Error level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :error ~@args)) (defmacro fatal "Fatal level logging using print-style args." - {:arglists '([level message & more] [level throwable message & more])} + {:arglists '([message & more] [throwable message & more])} [& args] `(logp :fatal ~@args)) |