On Tue, 06 Mar 2012 21:22:21 -0600, Andrei Alexandrescu <[email protected]> wrote:

On 3/6/12 6:05 PM, Geoffrey Biggs wrote:
That approach means that if I actually do have a fatal error, I can't
mark it as such.

Use log.fatal for those.

Andrei

But fatal "Logs a fatal severity message. Fatal log messages terminate the application after the message is persisted. Fatal log message cannot be disable at compile time or at run time." The point is that he want to log a fatal message and then terminate in a custom manner. I don't see a problem with convince functions that log and error and then throw, but not having the option to not throw is an unnecessary limitation.

Reply via email to