![]() |
VR-Forces Development_Version 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 void | setOutputStream (DtOutputStream *stream) |
| Set the output stream. | |
| 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 |
DTOR.
|
inline |
Check to see if the provided level would print with the current level.
References makVrv::vrvTacticalGraphicUtilities::level().
|
virtual |
Set the output level.
|
virtual |
Set the output stream.
|
virtual |
Get the output level.
|
inline |
Get the log output.
References makVrv::vrvTacticalGraphicUtilities::level().
| DtOutputStream* makVrv::DtDebugLog::outputStream | ( | ) |
Get the output stream.
|
protected |
|
protected |
|
protected |
|
protected |