StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
Logger.hpp File Reference
#include <cassert>
#include <sstream>
#include <string>
#include <stdair/stdair_log.hpp>
#include <stdair/basic/BasLogParams.hpp>

Go to the source code of this file.

Classes

class  stdair::Logger
 

Namespaces

namespace  stdair
 Handle on the StdAir library context.
 

Macros

#define STDAIR_LOG_CORE(iLevel, iToBeLogged)
 
#define STDAIR_LOG_CRITICAL(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::CRITICAL, iToBeLogged)
 
#define STDAIR_LOG_ERROR(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::ERROR, iToBeLogged)
 
#define STDAIR_LOG_NOTIFICATION(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::NOTIFICATION, iToBeLogged)
 
#define STDAIR_LOG_WARNING(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::WARNING, iToBeLogged)
 
#define STDAIR_LOG_DEBUG(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::DEBUG, iToBeLogged)
 
#define STDAIR_LOG_VERBOSE(iToBeLogged)    STDAIR_LOG_CORE (stdair::LOG::VERBOSE, iToBeLogged)
 

Macro Definition Documentation

◆ STDAIR_LOG_CORE

#define STDAIR_LOG_CORE ( iLevel,
iToBeLogged )
Value:
{ std::ostringstream ostr; ostr << iToBeLogged; \
stdair::Logger::instance().log (iLevel, __LINE__, __FILE__, ostr.str()); }

Definition at line 16 of file Logger.hpp.

◆ STDAIR_LOG_CRITICAL

#define STDAIR_LOG_CRITICAL ( iToBeLogged)     STDAIR_LOG_CORE (stdair::LOG::CRITICAL, iToBeLogged)

Definition at line 20 of file Logger.hpp.

◆ STDAIR_LOG_ERROR

◆ STDAIR_LOG_NOTIFICATION

#define STDAIR_LOG_NOTIFICATION ( iToBeLogged)     STDAIR_LOG_CORE (stdair::LOG::NOTIFICATION, iToBeLogged)

Definition at line 26 of file Logger.hpp.

◆ STDAIR_LOG_WARNING

#define STDAIR_LOG_WARNING ( iToBeLogged)     STDAIR_LOG_CORE (stdair::LOG::WARNING, iToBeLogged)

Definition at line 29 of file Logger.hpp.

◆ STDAIR_LOG_DEBUG

◆ STDAIR_LOG_VERBOSE

#define STDAIR_LOG_VERBOSE ( iToBeLogged)     STDAIR_LOG_CORE (stdair::LOG::VERBOSE, iToBeLogged)

Definition at line 35 of file Logger.hpp.