#include <CLog.h>
Public Member Functions | |
| CLog () | |
| void | doLog (bool doLog, bool doEcho, stringc pth) |
| void | writeLog (char *msg) |
| This function writes a message to the log file. | |
Private Attributes | |
| stringc | m_logMsg |
| stringc | m_path |
| bool | m_echo |
| bool | m_log |
| CLog::CLog | ( | ) |
Log Class /////////////////////////// This is my log class for IPhysics, its not much but it does the job without a problem.
| void CLog::doLog | ( | bool | doLog, | |
| bool | doEcho, | |||
| stringc | pth | |||
| ) |
This function is used to set whether iphysics should log its events, or to print its errors in the console and to set the path of the log file.
| void CLog::writeLog | ( | char * | msg | ) |
This function writes a message to the log file.
stringc CLog::m_logMsg [private] |
stringc CLog::m_path [private] |
bool CLog::m_echo [private] |
bool CLog::m_log [private] |
1.5.1-p1