Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DLogger Class Reference

The U4DLogger class implements messages notifications sent to the console log window. More...

Public Member Functions

void log (const char *uLog,...)
 Method which prints notifications to the console log window. More...
 
void setDebugMode (bool uValue)
 Method which enables printing to the console window. More...
 

Static Public Member Functions

static U4DLoggersharedInstance ()
 Method which returns a instance of the U4DLogger Singleton. More...
 

Static Public Attributes

static U4DLoggerinstance =0
 Instance for the U4DLogger Singleton.
 

Protected Member Functions

 U4DLogger ()
 Constructor for the Logger.
 
 ~U4DLogger ()
 Destructor for the Logger.
 

Detailed Description

The U4DLogger class implements messages notifications sent to the console log window.

Member Function Documentation

◆ log()

void U4DEngine::U4DLogger::log ( const char *  uLog,
  ... 
)

Method which prints notifications to the console log window.

Parameters
uLogMessage to print
...Message to print

◆ setDebugMode()

void U4DEngine::U4DLogger::setDebugMode ( bool  uValue)

Method which enables printing to the console window.

Parameters
uValueBoolean value which enables printint to the console

◆ sharedInstance()

U4DLogger * U4DEngine::U4DLogger::sharedInstance ( )
static

Method which returns a instance of the U4DLogger Singleton.

Returns
Returns an instance of the U4DLogger