Logging frameworks

What is the recommended logging framework? In Java log4j was more or less the standard. Any recommendations for Rust.

Log using the macros in

And then pick the appropriate backend for how you want it to get written out.

1 Like

On the same principle as the log crate, there's also tracing

It's slightly more complex, but aims to be better for concurrent applications.

1 Like

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.