@eliascotto94 The "log" function needs a level as the first argument, that is (log :debug "Hello world"), or you can do (debug "Hello world"). Doing set-level! controls what levels will appear in the log.
Great, thanks!
Hi, never used timbre before but after reading the docs I keep getting the same error:
Invalid Timbre logging level: should be e/o #{:trace :debug :info :warn :error :fatal :report}
Step to reproduce:
1. lein new app timbre-demo
2. add [com.taoensso/timbre "5.1.2"]
3. here is the core file
(ns timbre-demo.core
(:require [taoensso.timbre :as timbre])
(:gen-class))
(timbre/refer-timbre)
(timbre/set-level! :debug)
(defn -main
"I don't do a whole lot ... yet."
[& args]
(log "Hello, World!"))
I'm setting the log level :debug explicitly.Tried with timbre/log but same error