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
797 stars 124 forks source link

error!(...) exit error #223

Open carlocorradini opened 2 years ago

carlocorradini commented 2 years ago

There is a possibility to exit with error code if error!(...) macro is used? Currently error!(...) simply prints the message: can we set a flag (maybe during building the logger) to exit with a status code different from 0?