CLog Class Reference

#include <CLog.h>

List of all members.

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


Constructor & Destructor Documentation

CLog::CLog (  ) 

Log Class /////////////////////////// This is my log class for IPhysics, its not much but it does the job without a problem.


Member Function Documentation

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.


Member Data Documentation

stringc CLog::m_logMsg [private]

stringc CLog::m_path [private]

bool CLog::m_echo [private]

bool CLog::m_log [private]


The documentation for this class was generated from the following files:
Generated on Sun Apr 15 00:25:18 2007 for IPhysics by  doxygen 1.5.1-p1