|
00001 #ifndef EZLOGGER_MISC_HPP_HEADER_GRD_ 00002 #define EZLOGGER_MISC_HPP_HEADER_GRD_ 00003 00004 00005 namespace axter 00006 { 00007 enum severity{no_severity, debug, info, status, warn, error, fatal}; 00008 00021 struct ext_data 00022 { 00023 ext_data(severity severity_level, const char* pretty_function = NULL, const char* facility = NULL, const char* tag = NULL, int code = 0) 00024 :m_severity_level(severity_level), m_pretty_function(pretty_function), m_facility(facility), m_tag(tag), m_code(code){} 00025 severity m_severity_level; 00026 const char* m_pretty_function; 00027 const char* m_facility; 00028 const char* m_tag; 00029 int m_code; 00030 }; 00031 } 00032 00033 #endif //EZLOGGER_MISC_HPP_HEADER_GRD_