IPhysics: CLog Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# 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:

- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CLog.h
- C:/Documents and Settings/user/Desktop/IPhysics 1.5 Irr 1.2/source/CLog.cpp