Last year, I was not fully satisfied with a library I used to display logs in my Rust programs. It’s pretty-env-logger. I started patching the code but then I realized I had to change a lot of stuff and decided to make a fork of it. Some of my changes made the library too different from the original.
I had two main goals:
I have released version 0.6.0 today and I consider it to be fully usable.
It relies on log to write traces in your code:
debug!;
info!;
warn!;
error!;
And env-logger to be able to filter them.
Like the original, it can be customized at run time with environment variables.
Let me show you some examples as screenshots



I hope it will be useful to some of you.