danieleteti / loggerpro

An modern and pluggable logging framework for Delphi
Apache License 2.0
352 stars 91 forks source link

why not fatal error level log? #80

Closed chinghoi-tam closed 11 months ago

chinghoi-tam commented 1 year ago

Excuse me, Why is there no fatal error level?

danieleteti commented 11 months ago

No particular reason. We can plan to add it.

luebbe commented 11 months ago

Very nice. I wanted to suggest the same for exeption logging.

danieleteti commented 11 months ago

@luebbe regarding exceptions I've different feeling. What's the "log level" of an exception? There are fatal exceptions and "normal" exceptions (user wrote "a" in a number only field). So, while is very simple to implement I really don't have a crear vision about it.

luebbe commented 11 months ago

Of course. Not every exception is fatal. Our "well handled" exceptions only have debug or info level if they are logged at all. I was more thinking about the catastrophic ones.