Add WARN and DEFAULT log level values

This commit is contained in:
Danny Robson 2012-04-26 18:20:46 +10:00
parent 3433e10ec1
commit fa5f78366b

View File

@ -32,13 +32,15 @@ namespace util {
ALERT, /** action must be taken immediately */ ALERT, /** action must be taken immediately */
CRITICAL, /** critical conditions */ CRITICAL, /** critical conditions */
ERROR, /** error conditions */ ERROR, /** error conditions */
WARNING, /** warning conditions */ WARNING,
WARN = WARNING, /** warning conditions */
NOTICE, /** normal but significant condition */ NOTICE, /** normal but significant condition */
INFORMATIONAL, INFORMATIONAL,
INFO = INFORMATIONAL, /** informational messages */ INFO = INFORMATIONAL, /** informational messages */
DEBUG, /** debug-level messages */ DEBUG, /** debug-level messages */
NUM_LEVELS NUM_LEVELS,
DEFAULT = INFO
}; };
std::ostream& std::ostream&