DDraceNetwork Docs
CLogMessage Class Reference

#include <logger.h>

Collaboration diagram for CLogMessage:
[legend]

Public Member Functions

const char * Message () const
 

Public Attributes

LEVEL m_Level
 
bool m_HaveColor
 
LOG_COLOR m_Color
 
char m_aTimestamp [80]
 
char m_aSystem [32]
 
char m_aLine [4096]
 
int m_TimestampLength
 
int m_SystemLength
 
int m_LineLength
 
int m_LineMessageOffset
 

Detailed Description

Metadata and actual content of a log message.

Member Function Documentation

◆ Message()

const char * CLogMessage::Message ( ) const
inline

The actual log message excluding timestamp and the system.

Member Data Documentation

◆ m_aLine

char CLogMessage::m_aLine[4096]

The actual log message including the timestamp and the system.

◆ m_aSystem

char CLogMessage::m_aSystem[32]

◆ m_aTimestamp

char CLogMessage::m_aTimestamp[80]

◆ m_Color

LOG_COLOR CLogMessage::m_Color

The requested color of the log message. Only useful if m_HaveColor is set.

◆ m_HaveColor

bool CLogMessage::m_HaveColor

◆ m_Level

LEVEL CLogMessage::m_Level

Severity

◆ m_LineLength

int CLogMessage::m_LineLength

Length of the log message including timestamp and the system.

◆ m_LineMessageOffset

int CLogMessage::m_LineMessageOffset

◆ m_SystemLength

int CLogMessage::m_SystemLength

◆ m_TimestampLength

int CLogMessage::m_TimestampLength

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