emabee / flexi_logger

A flexible logger for rust programs that can write to stderr, stdout, and/or to log files
Apache License 2.0
307 stars 50 forks source link

README: Add documentation how to log panics through the logger #112

Closed xkr47 closed 2 years ago

xkr47 commented 2 years ago

I have not tested this with other outputs than the default stderr.

emabee commented 2 years ago

I like the proposal, but flexi_logger is not the right place for it. The proposed code works essentially with every logger, because it only makes use of the logging frontend, the log macros. So it would be better directed to the log crate.