Logging utility

I would like to add logging facility to my application. Could somebody advise me on which crate should I turn to? Ideally, it should be used as widely possible.
Thank you

env_logger is a popular choice, it's a backend for the log crate

If your project uses async heavily you might find tracing serves your needs better, though setting up the subscriber is a bit more involved sometimes.

1 Like

Thanks!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.