1 #ifndef _LOGRECORD_HXX_
2 #define _LOGRECORD_HXX_
10 /*! \brief Class for logging record
17 static const LogLevel FATAL = 50;
18 static const LogLevel ERROR = 40;
19 static const LogLevel WARNING = 30;
20 static const LogLevel INFO = 20;
21 static const LogLevel DEBUG = 10;
22 static const LogLevel NOTSET = 0;
24 LogRecord(const std::string& name,int level,const std::string& message, const char* file, int line);
26 /** The logger name. */
27 const std::string _loggerName;
28 /** The message of logging record */
29 const std::string _message;
30 /** Level of logging record */
32 /** filename of logging record */
34 /** line number of logging record */
36 virtual std::string getLevelName(int level);
38 virtual std::string getStr();