A thin wrapper around goog.log
inspired by pedestal.log
.
For more info see the accompanying blog post: ClojureScript logging with goog.log
Many thanks to Nextjournal for coming up with an interesting problem, and giving me the opportunity to explore and solve it.
deps.edn
lambdaisland.glogi {:mvn/version "0.0-25"}
project.clj
[lambdaisland.glogi "0.0-25"]
(ns my.app
(:require [lambdaisland.glogi :as log]
[lambdaisland.glogi.console :as glogi-console]))
(defonce install-logger
(glogi-console/install!)))
(log/info :hello {:message "Hello, world!"})
Copyright © 2019 Arne Brasseur
Available under the terms of the Eclipse Public License 1.0, see LICENSE.txt
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close