Liking cljdoc? Tell your friends :D

Glögi

CircleCI cljdoc badge Clojars Project

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.

Installation

deps.edn

lambdaisland.glogi {:mvn/version "0.0-25"}

project.clj

[lambdaisland.glogi "0.0-25"]

Quickstart

(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!"})

License

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