Medical Imaging Interaction Toolkit
2023.04.00
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 30 of file mbilogLogMessage.h.
|
inline |
Definition at line 64 of file mbilogLogMessage.h.
std::string mbilog::LogMessage::category |
Category of the logging event, which was defined by the user.
Definition at line 59 of file mbilogLogMessage.h.
Referenced by 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 42 of file mbilogLogMessage.h.
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 48 of file mbilogLogMessage.h.
const int mbilog::LogMessage::level |
Logging level which is defined in the enum mbilogLoggingTypes.h TODO: convert to enum.
Definition at line 36 of file mbilogLogMessage.h.
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 45 of file mbilogLogMessage.h.
std::string mbilog::LogMessage::message |
The actual logging message.
Definition at line 62 of file mbilogLogMessage.h.
Referenced by 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 54 of file mbilogLogMessage.h.
Referenced by mbilog::PseudoStream::~PseudoStream().