Slice Tools libFoundation |
MessageLevel.hhGo to the documentation of this file.00001 // $Id: MessageLevel.hh,v 1.1 2005/07/29 02:55:15 mschatz Exp $ 00002 00005 00006 #ifndef MESSAGELEVEL_HH 00007 #define MESSAGELEVEL_HH 1 00008 00010 /* Message levels are listed from least verbose/most critical to most verbose/ 00011 * least critical. There is a gap between each message level so that custom 00012 * levels can be set in between the standard levels. 00013 * 00014 * Filter levels set on the command line get a 10x multiplier 00015 * 00016 * Note: If there are any additions to this list, make sure to add it 00017 * to LogMsg::getMessageLevelStr() as well 00018 */ 00019 enum MessageLevel 00020 { 00021 MESSAGE_LEVEL_DEFAULT = -1, // Flag value 00022 MESSAGE_LEVEL_OFF = 0, 00023 MESSAGE_LEVEL_DEBUG_FATAL = 10, 00024 MESSAGE_LEVEL_DEBUG_ERROR = 20, 00025 MESSAGE_LEVEL_DEBUG_WARNING = 30, 00026 MESSAGE_LEVEL_DEBUG_INFORMATION = 40, 00027 MESSAGE_LEVEL_DEBUG_LOW = 50, 00028 MESSAGE_LEVEL_DEBUG_MEDIUM = 60, 00029 MESSAGE_LEVEL_DEBUG_HIGH = 70 00030 }; 00031 00032 #endif |