A tiny log library for Clojure
In your project.clj file, add:
In your clojure files, require it:
(require '[tlog.core :as log])
(log/set-limit! :debug) ; any keyword from [:trace :debug :info :notice :warn :error :fatal]
(log/debug "hello world")
(log/debugf "hello %s" "world")
Can you improve this documentation? These fine people already did:
carlzhc & zhangcarEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |