DDS  ver. 3.5.3.8.g5fe284b
Public Member Functions | List of all members
MiscCommon::CLogImp< _T > Class Template Reference

Template class. High-end helper implementation of CLog, its ofstream specialization. More...

#include <LogImp.h>

Public Member Functions

 CLogImp ()
 
 ~CLogImp ()
 
void InfoLog (const std::string &_Message)
 
void InfoLog (unsigned long _ErrorCode, const std::string &_Message)
 
void WarningLog (unsigned long _ErrorCode, const std::string &_Message)
 
void FaultLog (unsigned long _ErrorCode, const std::string &_Message)
 
void CriticalErrLog (unsigned long _ErrorCode, const std::string &_Message)
 
void DebugLog (unsigned long _ErrorCode, const std::string &_Message)
 
void msgPush (LOG_SEVERITY _Severity, const std::string &_Message, unsigned long _ErrorCode=0)
 

Detailed Description

template<typename _T>
class MiscCommon::CLogImp< _T >

Template class. High-end helper implementation of CLog, its ofstream specialization.

Note
: a REGISTER_LOG_MODULE(module name) must be be declared in a child class body. an example:
class CFoo: public MiscCommon::CLogImp<CAgentServer>
{
public:
CFoo();
~CFoo();
};

Constructor & Destructor Documentation

◆ CLogImp()

template<typename _T >
MiscCommon::CLogImp< _T >::CLogImp ( )
inline

◆ ~CLogImp()

template<typename _T >
MiscCommon::CLogImp< _T >::~CLogImp ( )
inline

Member Function Documentation

◆ CriticalErrLog()

template<typename _T >
void MiscCommon::CLogImp< _T >::CriticalErrLog ( unsigned long  _ErrorCode,
const std::string &  _Message 
)
inline

◆ DebugLog()

template<typename _T >
void MiscCommon::CLogImp< _T >::DebugLog ( unsigned long  _ErrorCode,
const std::string &  _Message 
)
inline

◆ FaultLog()

template<typename _T >
void MiscCommon::CLogImp< _T >::FaultLog ( unsigned long  _ErrorCode,
const std::string &  _Message 
)
inline

◆ InfoLog() [1/2]

template<typename _T >
void MiscCommon::CLogImp< _T >::InfoLog ( const std::string &  _Message)
inline

◆ InfoLog() [2/2]

template<typename _T >
void MiscCommon::CLogImp< _T >::InfoLog ( unsigned long  _ErrorCode,
const std::string &  _Message 
)
inline

◆ msgPush()

template<typename _T >
void MiscCommon::CLogImp< _T >::msgPush ( LOG_SEVERITY  _Severity,
const std::string &  _Message,
unsigned long  _ErrorCode = 0 
)
inline

◆ WarningLog()

template<typename _T >
void MiscCommon::CLogImp< _T >::WarningLog ( unsigned long  _ErrorCode,
const std::string &  _Message 
)
inline

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