SLProject 4.0.000
Utils::FileLog Class Reference

#include <FileLog.h>

Public Member Functions

 FileLog (std::string logDir, bool forceFlush)
 
virtual ~FileLog ()
 
void flush ()
 
void post (const std::string &message)
 

Private Attributes

std::ofstream _logFile
 
bool _forceFlush
 

Constructor & Destructor Documentation

◆ FileLog()

Utils::FileLog::FileLog ( std::string  logDir,
bool  forceFlush 
)

◆ ~FileLog()

Utils::FileLog::~FileLog ( )
virtual

Member Function Documentation

◆ flush()

void Utils::FileLog::flush ( )

◆ post()

void Utils::FileLog::post ( const std::string &  message)

Member Data Documentation

◆ _forceFlush

bool Utils::FileLog::_forceFlush
private

◆ _logFile

std::ofstream Utils::FileLog::_logFile
private

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