VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrv::DtDebugLog Class Reference

The debug log class, writes out messages to a log file. More...

List of all members.

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

Detailed Description

The debug log class, writes out messages to a log file.


Member Enumeration Documentation

Enumerator:
Warning 
Information 
Debug 
PrintLevel_End 

Constructor & Destructor Documentation

makVrv::DtDebugLog::DtDebugLog ( DtOutputStream *  output)

CTOR.

virtual makVrv::DtDebugLog::~DtDebugLog ( ) [virtual]

DTOR.


Member Function Documentation

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.

Get the output level.

Get the log output.

DtOutputStream* makVrv::DtDebugLog::outputStream ( )

Get the output stream.


Member Data Documentation

std::ostream* makVrv::DtDebugLog::myOutput [protected]
int makVrv::DtDebugLog::myRef [protected]
std::ostream* makVrv::DtDebugLog::myEmptyOutput [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)