A logging library for ClojureScript that wraps goog.debug.Logger.
Add [org.harto/huon "0.5.1"] as a dependency in project.clj.
(ns foo.bar
  (:require [huon.log :as log]))
;; required; once per app
(log/enable!)
;; optional; defaults to :warn
(log/set-root-level! :info)
(log/debug "an invisible message")
(log/info "hello" "world")
Output:
 [  0.021s] [foo.bar:11] [INFO] hello world
Available macros are debug, info, warn and error.
The automated test suite is runnable via bin/run-tests.
MIT; see LICENSE.
Can you improve this documentation?Edit 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 |