Defines constants for Message utility. More...
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. | |
Defines constants for Message utility.
| enum larlight::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 26 of file FrameworkConstants.hh.
| const std::string larlight::MSG::ColorPrefix[MSG_TYPE_MAX] |
{
"\033[94m",
"\033[92m",
"\033[95m",
"\033[93m",
"\033[91m"
}
Color coding of message.
Definition at line 35 of file FrameworkConstants.hh.
Referenced by larlight::Message::send().
| const std::string larlight::MSG::StringPrefix[MSG_TYPE_MAX] |
{
" [DEBUG] ",
" [INFO] ",
" [NORMAL] ",
" [WARNING] ",
" [ERROR] "
}
Prefix of message.
Definition at line 45 of file FrameworkConstants.hh.
Referenced by larlight::Message::send().
1.6.1