Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
An object of this class represents a single logging message (logging event) of the mbi logging mechanism. Logging message should only be generated by the macros in the class mbilog.h. More...
#include <mbilogLogMessage.h>
Public Member Functions | |
LogMessage (const int _level, const char *_filePath, const int _lineNumber, const char *_functionName) | |
Public Attributes | |
const int | level |
Logging level which is defined in the enum mbilogLoggingTypes.h TODO: convert to enum. More... | |
const char * | filePath |
File name of the source file where the logging message was emitted which is generated by the macros in file mbilog.h. More... | |
const int | lineNumber |
Line of the source source file where the logging message was emitted which is generated by the macros in file mbilog.h. More... | |
const char * | functionName |
Name of the method where the logging message was emitted which is generated by the macros in file mbilog.h. More... | |
const char * | moduleName |
Name of the module where the logging message was emitted which is generated by the macros in file mbilog.h. Is empty if there module defined. More... | |
std::string | category |
Category of the logging event, which was defined by the user. More... | |
std::string | message |
The actual logging message. More... | |
An object of this class represents a single logging message (logging event) of the mbi logging mechanism. Logging message should only be generated by the macros in the class mbilog.h.
Documentation
Definition at line 39 of file mbilogLogMessage.h.
|
inline |
Definition at line 73 of file mbilogLogMessage.h.
std::string mbilog::LogMessage::category |
Category of the logging event, which was defined by the user.
Definition at line 68 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull(), mbilog::TextBackendBase::FormatSmart(), and mbilog::PseudoStream::operator()().
const char* mbilog::LogMessage::filePath |
File name of the source file where the logging message was emitted which is generated by the macros in file mbilog.h.
Definition at line 51 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull().
const char* mbilog::LogMessage::functionName |
Name of the method where the logging message was emitted which is generated by the macros in file mbilog.h.
Definition at line 57 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull().
const int mbilog::LogMessage::level |
Logging level which is defined in the enum mbilogLoggingTypes.h TODO: convert to enum.
Definition at line 45 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull(), and mbilog::TextBackendBase::FormatSmart().
const int mbilog::LogMessage::lineNumber |
Line of the source source file where the logging message was emitted which is generated by the macros in file mbilog.h.
Definition at line 54 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull().
std::string mbilog::LogMessage::message |
The actual logging message.
Definition at line 71 of file mbilogLogMessage.h.
Referenced by mbilog::DistributeToBackends(), mbilog::TextBackendBase::FormatFull(), mbilog::TextBackendBase::FormatSmart(), and mbilog::PseudoStream::~PseudoStream().
const char* mbilog::LogMessage::moduleName |
Name of the module where the logging message was emitted which is generated by the macros in file mbilog.h. Is empty if there module defined.
Definition at line 63 of file mbilogLogMessage.h.
Referenced by mbilog::TextBackendBase::FormatFull(), and mbilog::PseudoStream::~PseudoStream().