StdAir Logo  1.00.17
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)
 
#define STDAIR_LOG_ERROR(iToBeLogged)
 
#define STDAIR_LOG_NOTIFICATION(iToBeLogged)
 
#define STDAIR_LOG_WARNING(iToBeLogged)
 
#define STDAIR_LOG_DEBUG(iToBeLogged)
 
#define 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)
Value:
#define STDAIR_LOG_CORE(iLevel, iToBeLogged)
Definition Logger.hpp:16

Definition at line 20 of file Logger.hpp.

◆ STDAIR_LOG_ERROR

◆ STDAIR_LOG_NOTIFICATION

#define STDAIR_LOG_NOTIFICATION ( iToBeLogged)
Value:

Definition at line 26 of file Logger.hpp.

◆ STDAIR_LOG_WARNING

#define STDAIR_LOG_WARNING ( iToBeLogged)
Value:

Definition at line 29 of file Logger.hpp.

◆ STDAIR_LOG_DEBUG

◆ STDAIR_LOG_VERBOSE

#define STDAIR_LOG_VERBOSE ( iToBeLogged)
Value:

Definition at line 35 of file Logger.hpp.