TrueReality  v0.1.1912
trUtil::Logging::LogWriter::LogData Struct Reference

A log data. More...

#include <LogWriter.h>

Collaboration diagram for trUtil::Logging::LogWriter::LogData:

Public Member Functions

 LogData ()
 Default constructor. More...
 

Public Attributes

trUtil::Logging::LogLevel logLevel
 
trUtil::DateTime time
 Log level. More...
 
unsigned frameNumber
 Time of message. More...
 
std::string logName
 The frame number. More...
 
std::string file
 The name of the Log instance (could be empty) More...
 
std::string method
 The source file of the message. More...
 
int line
 The calling method of the message. More...
 
std::string msg
 The line number of the source code of the message. More...
 

Detailed Description

A log data.

Definition at line 60 of file LogWriter.h.

Constructor & Destructor Documentation

◆ LogData()

trUtil::Logging::LogWriter::LogData::LogData ( )
inline

Default constructor.

Definition at line 67 of file LogWriter.h.

Member Data Documentation

◆ file

std::string trUtil::Logging::LogWriter::LogData::file

The name of the Log instance (could be empty)

Definition at line 76 of file LogWriter.h.

Referenced by trUtil::Logging::LogWriterConsole::LogMessage(), trUtil::Logging::LogWriterFile::LogMessage(), and trUtil::Logging::Log::LogMessage().

◆ frameNumber

unsigned trUtil::Logging::LogWriter::LogData::frameNumber

◆ line

int trUtil::Logging::LogWriter::LogData::line

◆ logLevel

trUtil::Logging::LogLevel trUtil::Logging::LogWriter::LogData::logLevel

◆ logName

std::string trUtil::Logging::LogWriter::LogData::logName

◆ method

std::string trUtil::Logging::LogWriter::LogData::method

◆ msg

std::string trUtil::Logging::LogWriter::LogData::msg

The line number of the source code of the message.

Definition at line 79 of file LogWriter.h.

Referenced by trUtil::Logging::LogWriterConsole::LogMessage(), trUtil::Logging::LogWriterFile::LogMessage(), and trUtil::Logging::Log::LogMessage().

◆ time

trUtil::DateTime trUtil::Logging::LogWriter::LogData::time

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