Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
with-logger macro #6
One can override the default namespace used in logging with a
(deftest logp-macro-with-logger (with-logger "kikka" (info "kukka")) (is (= ["kikka" :info nil "kukka"] (peek @*entries*))))
I have a case where I need to log explicitly to different logs, this seems to be nice way to do it.
Added also few tests for the logp and logf -based macro loggings.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Hi Tommi, thanks for the suggestions but Clojure Contrib projects cannot accept pull requests per http://clojure.org/contributing
Pull requests are often a good way to provide a basis for discussion around possible new features that leads to tickets in JIRA and patches from folks with a signed Contributor's Agreement on file. You can find links to JIRA on this page for each Contrib project: http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go
I'll leave this open for the project lead to review and discuss with you.