rust-lang / log

Logging implementation for Rust
https://docs.rs/log
Apache License 2.0
2.12k stars 248 forks source link

Add log level fatal/critical #626

Closed BitSyndicate1 closed 3 months ago

BitSyndicate1 commented 3 months ago

I find myself often missing a Critical/Fatal log level as Error, as of my understanding,may be recoverable and I find it to be easier to comb through logs that say directly where something went unrecoverably wrong. So the hierarchy would look like this:

CRITICAL/FATAL > ERROR > WARNING > INFO > DEBUG > TRACE

What do you think? Would this be useful or am I misunderstanding something?

Thomasdezeeuw commented 3 months ago

Have you seen https://github.com/rust-lang/log/issues/334? This has been discussed before, I think it's best to add your use case there.

BitSyndicate1 commented 3 months ago

I will ad my use case their. Thx.