DDraceNetwork Docs
CConsoleLogger Class Reference
Inheritance diagram for CConsoleLogger:
[legend]
Collaboration diagram for CConsoleLogger:
[legend]

Public Member Functions

 CConsoleLogger (CGameConsole *pConsole)
 
void Log (const CLogMessage *pMessage) override REQUIRES(!m_ConsoleMutex)
 
void OnConsoleDeletion () REQUIRES(!m_ConsoleMutex)
 
- Public Member Functions inherited from ILogger
virtual ~ILogger ()
 
void SetFilter (const CLogFilter &Filter)
 
virtual void Log (const CLogMessage *pMessage)=0
 
virtual void GlobalFinish ()
 
virtual void OnFilterChange ()
 

Private Attributes

CGameConsolem_pConsole
 
CLock m_ConsoleMutex
 

Additional Inherited Members

- Protected Attributes inherited from ILogger
CLogFilter m_Filter
 

Constructor & Destructor Documentation

◆ CConsoleLogger()

CConsoleLogger::CConsoleLogger ( CGameConsole pConsole)
inline

Member Function Documentation

◆ Log()

void CConsoleLogger::Log ( const CLogMessage pMessage)
overridevirtual

Send the specified message to the logging backend.

Parameters
pMessageStruct describing the log message.

Implements ILogger.

◆ OnConsoleDeletion()

void CConsoleLogger::OnConsoleDeletion ( )

Member Data Documentation

◆ m_ConsoleMutex

CLock CConsoleLogger::m_ConsoleMutex
private

◆ m_pConsole

CGameConsole* CConsoleLogger::m_pConsole
private

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