Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wishlist: timbre namespace bindings (for JVM and JS) #27

Open
awb99 opened this issue Aug 20, 2023 · 4 comments
Open

wishlist: timbre namespace bindings (for JVM and JS) #27

awb99 opened this issue Aug 20, 2023 · 4 comments

Comments

@awb99
Copy link

awb99 commented Aug 20, 2023

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.

@borkdude
Copy link
Collaborator

Is this for JS or JVM?

@awb99
Copy link
Author

awb99 commented Aug 25, 2023

Timbre works both in jvm and on js. I use sci for js. So my usecase is for js.

@borkdude
Copy link
Collaborator

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.

@borkdude borkdude changed the title wishlist: timbre namespace bindings wishlist: timbre namespace bindings (for JVM and JS) Aug 25, 2023
@awb99
Copy link
Author

awb99 commented Aug 27, 2023

I am happy to test....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants