DDS  ver. 3.5.3.8.g5fe284b
Public Member Functions | Static Public Member Functions | List of all members
MiscCommon::CLogSingleton Class Reference

It represents logbook as a singleton. More...

#include <LogImp.h>

Public Member Functions

int Init (const std::string &_LogFileName, bool _CreateNew=false, unsigned char _logLevel=LOG_SEVERITY_INFO|LOG_SEVERITY_WARNING|LOG_SEVERITY_FAULT|LOG_SEVERITY_CRITICAL_ERROR)
 
void push (LOG_SEVERITY _Severity, unsigned long _ErrorCode, const std::string &_Module, const std::string &_Message)
 
bool IsReady ()
 

Static Public Member Functions

static CLogSingletonInstance ()
 

Detailed Description

It represents logbook as a singleton.

ofstream specialization of CLog

Member Function Documentation

◆ Init()

int MiscCommon::CLogSingleton::Init ( const std::string &  _LogFileName,
bool  _CreateNew = false,
unsigned char  _logLevel = LOG_SEVERITY_INFO | LOG_SEVERITY_WARNING | LOG_SEVERITY_FAULT | LOG_SEVERITY_CRITICAL_ERROR 
)
inline

◆ Instance()

static CLogSingleton& MiscCommon::CLogSingleton::Instance ( )
inlinestatic

◆ IsReady()

bool MiscCommon::CLogSingleton::IsReady ( )
inline

◆ push()

void MiscCommon::CLogSingleton::push ( LOG_SEVERITY  _Severity,
unsigned long  _ErrorCode,
const std::string &  _Module,
const std::string &  _Message 
)
inline

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