LogLevel

A LogLevel indicates the importance of the message being logged. You can also think of LogLevel like a severity.

Fatal

This level should be used when an unexpected error occurs that cannot be recovered from, requires immediate human intervention, and the application will most likely shutdown.

Error

This level should be used when an unexpected error occurs that cannot be recovered from and likely requires human intervention. But the application may not shutdown if the error is transitive (i.e. database down).

Warn

This level should be used when an unexpected error occurs that can be recovered from and a human should look at the issue at their earliest possible convenience.

Inform

This level should be used for reporting normal running information to the end user. This can include order ids being processed, RSS urls being parsed, etc.

Debug

This level should be used for basic, high level debugging statements. Such as, entering and leaving a method, direction taking in conditional statements, events sent or received, and important objects.

Last edited Feb 12, 2009 at 6:23 PM by justrudd, version 1

Comments

No comments yet.