Enumerations | |
| enum | Level { DEBUG = 0, INFO, NORMAL, WARNING, ERROR, MSG_TYPE_MAX } |
| Defines message level. More... | |
Variables | |
| const std::string | ColorPrefix [MSG_TYPE_MAX] |
| Color coding of message. | |
| const std::string | StringPrefix [MSG_TYPE_MAX] |
| Prefix of message. | |
| enum MSG::Level |
Defines message level.
| DEBUG | Message level ... useful to debug a crash. |
| INFO | Debug info but not the lowest level. |
| NORMAL | Normal stdout. |
| WARNING | notify a user in the standard operation mode for an important finding. |
| ERROR | notify a user when something is clearly wrong |
| MSG_TYPE_MAX |
Definition at line 24 of file constants.hh.
00024 { 00025 DEBUG=0, 00026 INFO, 00027 NORMAL, 00028 WARNING, 00029 ERROR, 00030 MSG_TYPE_MAX 00031 };
| const std::string MSG::ColorPrefix[MSG_TYPE_MAX] |
Initial value:
{
"\033[94m",
"\033[92m",
"\033[95m",
"\033[93m",
"\033[91m"
}
Definition at line 33 of file constants.hh.
Referenced by Message::send().
| const std::string MSG::StringPrefix[MSG_TYPE_MAX] |
Initial value:
{
" [DEBUG] ",
" [INFO] ",
" [NORMAL] ",
" [WARNING] ",
" [ERROR] "
}
Definition at line 43 of file constants.hh.
Referenced by Message::send().
1.4.7