StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair::Logger Class Reference

#include <stdair/service/Logger.hpp>

List of all members.

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

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.

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

Return the static Logger instance.

Definition at line 48 of file Logger.cpp.


Friends And Related Function Documentation

friend class FacSupervisor
friend

Friend classes.

Definition at line 50 of file Logger.hpp.

friend class STDAIR_Service
friend

Definition at line 51 of file Logger.hpp.


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