larlight::MSG Namespace Reference

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.

Detailed Description

Defines constants for Message utility.


Enumeration Type Documentation

Defines message level.

Enumerator:
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.

00026               {
00027       DEBUG=0,      
00028       INFO,         
00029       NORMAL,       
00030       WARNING,      
00031       ERROR,        
00032       MSG_TYPE_MAX
00033     };


Variable Documentation

const std::string larlight::MSG::ColorPrefix[MSG_TYPE_MAX]
Initial value:
      {
    "\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]
Initial value:
      {
    "     [DEBUG]  ", 
    "      [INFO]  ", 
    "    [NORMAL]  ", 
    "   [WARNING]  ", 
    "     [ERROR]  "  
      }

Prefix of message.

Definition at line 45 of file FrameworkConstants.hh.

Referenced by larlight::Message::send().

 All Classes Namespaces Files Functions Variables Enumerations Enumerator

Generated on 3 Jun 2014 for MyProject by  doxygen 1.6.1