Clojure timbre 4.0 set-config

I use timbre for logging in clojure. I like the package, but when I tried to redirect the log output to a file, the examples on the timbre github page (and others that I found on the Internet) did not work.

I got the error set-config! .

From the change records, you can see that the version V4.0.0 of the tone changed set-config! from 2 arguments to 1, but I can not find an example of how to use the new interface. What I want to do is simply indicate that the output should go to the "spit file" and not to the console.

+2
source share

All Articles