rust-cli / env_logger

A logging implementation for `log` which is configured via an environment variable.
https://docs.rs/env_logger
Apache License 2.0
803 stars 125 forks source link

Don't use eprint from logger implementations. #184

Closed emilio closed 3 years ago

emilio commented 3 years ago

eprint! panics on io errors, which might cause unnecessary crashes like https://bugzilla.mozilla.org/show_bug.cgi?id=1676882.

jplatte commented 3 years ago

Thanks!

badboy commented 3 years ago

Thanks @jplatte. Any chance you could do a release for that soon?

jplatte commented 3 years ago

Working on it.

jplatte commented 3 years ago

https://crates.io/crates/env_logger/0.8.2

https://github.com/env-logger-rs/env_logger/releases/tag/v0.8.2

emilio commented 3 years ago

Thank you!