Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
|
A class that stores log messages. More...
#include <src/api/mip/log_message_data.h>
Public Member Functions | |
const std::shared_ptr< void > & | GetContext () const |
The logger context for the log statement. | |
const std::string & | GetFile () const |
The file name for the log statement. | |
const std::string & | GetFunction () const |
The function name for the log statement. | |
LogLevel | GetLevel () const |
The log level for the log statement. | |
int32_t | GetLine () const |
The line number for the log statement. | |
const std::string & | GetLogMessage () const |
The message for the log statement. | |
std::thread::id | GetMessageThreadId () const |
The thread id of the log statement. | |
std::chrono::time_point< std::chrono::system_clock > | GetMessageTime () const |
The message time of the log statement. | |
LogMessageData (const LogLevel level, const std::string &message, const std::string &function, const std::string &file, int32_t line, const std::shared_ptr< void > &context, std::chrono::time_point< std::chrono::system_clock > messageTime, std::thread::id messageThreadId) | |
A class that stores log messages.
Definition at line 58 of file log_message_data.h.
|
inline |
Definition at line 60 of file log_message_data.h.
|
inline |
The logger context for the log statement.
Definition at line 107 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The file name for the log statement.
Definition at line 97 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The function name for the log statement.
Definition at line 92 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The log level for the log statement.
Definition at line 82 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The line number for the log statement.
Definition at line 102 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The message for the log statement.
Definition at line 87 of file log_message_data.h.
Referenced by LoggerDelegate::WriteToLogWithLogMessage().
|
inline |
The thread id of the log statement.
Definition at line 117 of file log_message_data.h.
|
inline |
The message time of the log statement.
Definition at line 112 of file log_message_data.h.