StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
stdair_log.hpp
Go to the documentation of this file.
00001 #ifndef __STDAIR_STDAIR_LOG_HPP
00002 #define __STDAIR_STDAIR_LOG_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 
00010 namespace stdair {
00011 
00012   // Forward declarations
00013   class STDAIR_Service;
00014 
00015   // /////////////// Log /////////////
00017   namespace LOG {
00018     typedef enum {
00019       CRITICAL = 0,
00020       ERROR,
00021       NOTIFICATION,
00022       WARNING,
00023       DEBUG,
00024       VERBOSE,
00025       LAST_VALUE
00026     } EN_LogLevel;
00027     
00028     static const std::string _logLevels[LAST_VALUE] =
00029       {"C", "E", "N", "W", "D", "V"};
00030   }
00031 
00032 }
00033 #endif // __STDAIR_STDAIR_LOG_HPP