Open awb99 opened 10 months ago
Is this for JS or JVM?
Timbre works both in jvm and on js. I use sci for js. So my usecase is for js.
I'm using Timbre on the JVM in babashka. I could submit that configuration here, but I don't know yet if it works for CLJS.
I am happy to test....
If there is one library that I would like to use in sci that it is missing, it would be timbre. https://github.com/taoensso/timbre
Timbre defines logging macros (trace, debug, info, warn, error) that can then be logged to various destinations. They work in the browser. What is nice about timbre is that one can define the config at runtime to say display only warning or above messages. But for debugging it is possible to enable the logging of one namespace at say debug level.
The macros capture the namespace and function name and the line number and this gets logged to say the browser devtools console with the correct loglevel.
I think that this might be also useful for node.js based apps.