StdAir Logo  1.00.18
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.
 
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.

References stdair::FacBom< BOM >::_instance, and instance().

Referenced by instance().

Friends And Related Symbol Documentation

◆ FacSupervisor

friend class FacSupervisor
friend

Friend classes.

Definition at line 50 of file Logger.hpp.

References FacSupervisor.

Referenced by FacSupervisor.

◆ STDAIR_Service

friend class STDAIR_Service
friend

Definition at line 51 of file Logger.hpp.

References STDAIR_Service.

Referenced by STDAIR_Service.


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