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

Logging to a file. More...

#include <Log.h>

Inheritance diagram for MiscCommon::CFileLog:
MiscCommon::CLog< std::ofstream >

Public Types

typedef std::ofstream stream_type
 

Public Member Functions

 CFileLog (const std::string &_LogFileName, bool _CreateNew=false, unsigned char _logLevel=LOG_SEVERITY_INFO|LOG_SEVERITY_WARNING|LOG_SEVERITY_FAULT|LOG_SEVERITY_CRITICAL_ERROR)
 
- Public Member Functions inherited from MiscCommon::CLog< std::ofstream >
 CLog (std::ofstream *_stream, unsigned char _logLevel)
 
void push (LOG_SEVERITY _Severity, unsigned long _ErrorCode, const std::string &_Module, const std::string &_Message)
 

Detailed Description

Logging to a file.

ofstream specialization of CLog.

Member Typedef Documentation

◆ stream_type

typedef std::ofstream MiscCommon::CFileLog::stream_type

Constructor & Destructor Documentation

◆ CFileLog()

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

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