StdAir Logo  1.00.12
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
stdair::Logger Class Reference

#include <stdair/service/Logger.hpp>

Public Member Functions

template<typename T >
void log (const LOG::EN_LogLevel iLevel, const int iLineNumber, const std::string &iFileName, const T &iToBeLogged)
 

Static Public Member Functions

static Loggerinstance ()
 

Friends

class FacSupervisor
 Friend classes. More...
 
class STDAIR_Service
 

Detailed Description

Class holding the stream for logs.

Note that the error logs are seen as standard output logs, but with a higher level of visibility.

Definition at line 48 of file Logger.hpp.

Member Function Documentation

◆ log()

template<typename T >
void stdair::Logger::log ( const LOG::EN_LogLevel  iLevel,
const int  iLineNumber,
const std::string &  iFileName,
const T &  iToBeLogged 
)
inline

Main log entry.

Definition at line 59 of file Logger.hpp.

References stdair::LOG::_logLevels.

◆ instance()

Logger & stdair::Logger::instance ( )
static

Return the static Logger instance.

Definition at line 48 of file Logger.cpp.

Friends And Related Function Documentation

◆ FacSupervisor

friend class FacSupervisor
friend

Friend classes.

Definition at line 50 of file Logger.hpp.

◆ STDAIR_Service

friend class STDAIR_Service
friend

Definition at line 51 of file Logger.hpp.


The documentation for this class was generated from the following files: