Skip to content

Loading…

Changes to clojure 1.3 alpha break logging,trace #9

Open
wants to merge 1 commit into from

1 participant

@pmbauer
Clojure member

Judicious addition of :dynamic metadata.
(I've signed CA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 16, 2011
  1. @pmbauer

    Changes to clojure 1.3 alpha break the build (logging, trace).

    pmbauer committed
    Judicious addition of :dynamic metadata.
View
1 modules/logging/src/main/clojure/clojure/contrib/logging.clj
@@ -490,5 +490,6 @@
to obtain an instance satisfying the Log protocol. Defaults to the value
returned from find-factory. Can be rebound to provide alternate logging
implementations"}
+ ^:dynamic
*log-factory*
(find-factory))
View
1 modules/trace/src/main/clojure/clojure/contrib/trace.clj
@@ -39,6 +39,7 @@ code is doing."}
(def
^{:doc "Current stack depth of traced function calls."}
+ ^:dynamic
*trace-depth* 0)
(defn tracer
Something went wrong with that request. Please try again.