danieleteti / loggerpro

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

why not fatal error level log? #80

Closed chinghoi-tam closed 1 year ago

chinghoi-tam commented 1 year ago

Excuse me, Why is there no fatal error level?

danieleteti commented 1 year ago

No particular reason. We can plan to add it.

luebbe commented 1 year ago

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

danieleteti commented 1 year 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 1 year 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.