Skip to content

Instantly share code, notes, and snippets.

@fluffywaffles
fluffywaffles / logging.cljc
Created June 28, 2017 21:30 — forked from martinklepsch/logging.cljc
simple Clojurescript logging using Google Closure logging tools
;; This previously was CLJX but has now been updated to use cljc. Thanks @caskolkm
;; https://gist.github.com/caskolkm/39d823f5bac7051d3062
(ns app.logging
(:refer-clojure :exclude [time])
(:require #?(:clj [clojure.tools.logging :as log]
:cljs [goog.log :as glog]))
#?(:cljs (:import goog.debug.Console)))
#?(:cljs