![]() |
VR-Forces 4.0.4 Class Documentation
|
The debug log class, writes out messages to a log file. More...
Public Types | |
| enum | PrintLevel { Warning = 1, Information = 2, Debug = 4, PrintLevel_End = 5 } |
Public Member Functions | |
| DtDebugLog (DtOutputStream *output) | |
| CTOR. | |
| virtual | ~DtDebugLog () |
| DTOR. | |
| bool | levelWillPrint (DtDebugLog::PrintLevel alevel) |
| Check to see if the provided level would print with the current level. | |
| virtual void | setLevel (DtDebugLog::PrintLevel alevel) |
| Set the output level. | |
| virtual DtDebugLog::PrintLevel | level () |
| Get the output level. | |
| std::ostream & | out (DtDebugLog::PrintLevel level=DtDebugLog::Information) |
| Get the log output. | |
| DtOutputStream * | outputStream () |
| Get the output stream. | |
Protected Attributes | |
| PrintLevel | myLevel |
| std::ostream * | myOutput |
| int | myRef |
| std::ostream * | myEmptyOutput |
The debug log class, writes out messages to a log file.
| makVrv::DtDebugLog::DtDebugLog | ( | DtOutputStream * | output | ) |
CTOR.
| virtual makVrv::DtDebugLog::~DtDebugLog | ( | ) | [virtual] |
DTOR.
| bool makVrv::DtDebugLog::levelWillPrint | ( | DtDebugLog::PrintLevel | alevel | ) | [inline] |
Check to see if the provided level would print with the current level.
| virtual void makVrv::DtDebugLog::setLevel | ( | DtDebugLog::PrintLevel | alevel | ) | [virtual] |
Set the output level.
| virtual DtDebugLog::PrintLevel makVrv::DtDebugLog::level | ( | ) | [virtual] |
Get the output level.
| std::ostream& makVrv::DtDebugLog::out | ( | DtDebugLog::PrintLevel | level = DtDebugLog::Information | ) | [inline] |
Get the log output.
| DtOutputStream* makVrv::DtDebugLog::outputStream | ( | ) |
Get the output stream.
PrintLevel makVrv::DtDebugLog::myLevel [protected] |
std::ostream* makVrv::DtDebugLog::myOutput [protected] |
int makVrv::DtDebugLog::myRef [protected] |
std::ostream* makVrv::DtDebugLog::myEmptyOutput [protected] |