You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be with the log-trace macro. It doesn't capture the value of *ns* at macroexpansion-time which means it'll use whatever *ns* is at call time.
During implementation of
mulog
we found that when usingmulog/trace
the value for:mulog/namespace
isn't the namespace where the trace/log originated.Here's a minimal example:
Running
clj -Scp $(lein classpath) -i repl.clj -e "(do (require 'other-ns) (other-ns/start-and-log) (Thread/sleep 1000))"
returns the following:The text was updated successfully, but these errors were encountered: