Skip to content

Commit

Permalink
Fixes #12; log-system ref is now always returned.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfaulhaber committed Aug 8, 2009
1 parent 90f7ea1 commit db7ac3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clojure/contrib/logging.clj
Expand Up @@ -145,8 +145,8 @@
(let [system @system-ref
log ((system :get-log) log-ns)]
(if ((system :enabled?) log level)
(do ((system :write) log level (force message) throwable)
system-ref))))
((system :write) log level (force message) throwable))
system-ref))


(def #^{:doc
Expand Down

0 comments on commit db7ac3a

Please sign in to comment.