SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
File logging class. More...
#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 |
Utils::FileLog::FileLog | ( | std::string | logDir, |
bool | forceFlush | ||
) |
Definition at line 20 of file FileLog.cpp.
|
virtual |
Definition at line 37 of file FileLog.cpp.
void Utils::FileLog::flush | ( | ) |
Definition at line 43 of file FileLog.cpp.
void Utils::FileLog::post | ( | const std::string & | message | ) |
Definition at line 48 of file FileLog.cpp.