LogCabin
|
When LogCabin wants to print a log message, this is the information that gets included. More...
#include <Debug.h>
Public Member Functions | |
DebugMessage () | |
Default constructor. | |
DebugMessage (const DebugMessage &other) | |
Copy constructor. | |
DebugMessage (DebugMessage &&other) | |
Move constructor. | |
~DebugMessage () | |
Destructor. | |
DebugMessage & | operator= (const DebugMessage &other) |
Copy assignment. | |
DebugMessage & | operator= (DebugMessage &&other) |
Move assignment. | |
Public Attributes | |
const char * | filename |
The output of __FILE__. | |
int | linenum |
The output of __LINE__. | |
const char * | function |
The output of __FUNCTION__. | |
int | logLevel |
The level of importance of the message as an integer. | |
const char * | logLevelString |
The level of importance of the message as a static string. | |
std::string | processName |
The name of the current process (its PID or server ID). | |
std::string | threadName |
The name of the current thread (by its function or its thread ID). | |
std::string | message |
The contents of the message. |
When LogCabin wants to print a log message, this is the information that gets included.
LogCabin::Core::Debug::DebugMessage::DebugMessage | ( | const DebugMessage & | other | ) |
DebugMessage & LogCabin::Core::Debug::DebugMessage::operator= | ( | const DebugMessage & | other | ) |
DebugMessage & LogCabin::Core::Debug::DebugMessage::operator= | ( | DebugMessage && | other | ) |
const char* LogCabin::Core::Debug::DebugMessage::filename |
const char* LogCabin::Core::Debug::DebugMessage::function |
std::string LogCabin::Core::Debug::DebugMessage::processName |
std::string LogCabin::Core::Debug::DebugMessage::threadName |
std::string LogCabin::Core::Debug::DebugMessage::message |