3.4.0
tigl::CTiglFileLogger Class Reference

#include <CTiglFileLogger.h>

+ Inheritance diagram for tigl::CTiglFileLogger:

Public Member Functions

TIGL_EXPORT CTiglFileLogger (const char *filename)
 
TIGL_EXPORT CTiglFileLogger (FILE *file)
 
TIGL_EXPORT void LogMessage (TiglLogLevel, const char *message) override
 
TIGL_EXPORT void SetVerbosity (TiglLogLevel) override
 
TIGL_EXPORT ~CTiglFileLogger () override
 
- Public Member Functions inherited from tigl::ITiglLogger
virtual ~ITiglLogger ()
 

Private Attributes

bool fileOpened
 
FILE * logFileStream
 
std::mutex mutex
 
TiglLogLevel verbosity
 

Constructor & Destructor Documentation

◆ CTiglFileLogger() [1/2]

TIGL_EXPORT tigl::CTiglFileLogger::CTiglFileLogger ( const char *  filename)

◆ CTiglFileLogger() [2/2]

TIGL_EXPORT tigl::CTiglFileLogger::CTiglFileLogger ( FILE *  file)

◆ ~CTiglFileLogger()

TIGL_EXPORT tigl::CTiglFileLogger::~CTiglFileLogger ( )
override

Member Function Documentation

◆ LogMessage()

TIGL_EXPORT void tigl::CTiglFileLogger::LogMessage ( TiglLogLevel  ,
const char *  message 
)
overridevirtual

Implements tigl::ITiglLogger.

◆ SetVerbosity()

TIGL_EXPORT void tigl::CTiglFileLogger::SetVerbosity ( TiglLogLevel  )
overridevirtual

Implements tigl::ITiglLogger.

Field Documentation

◆ fileOpened

bool tigl::CTiglFileLogger::fileOpened
private

◆ logFileStream

FILE* tigl::CTiglFileLogger::logFileStream
private

◆ mutex

std::mutex tigl::CTiglFileLogger::mutex
private

◆ verbosity

TiglLogLevel tigl::CTiglFileLogger::verbosity
private

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