TrinityCore
|
#include <LogMessage.h>
Public Member Functions | |
LogMessage (LogLevel _level, std::string_view _type, std::string _text) | |
LogMessage (LogLevel _level, std::string_view _type, std::string _text, std::string _param1) | |
LogMessage (LogMessage const &)=delete | |
LogMessage & | operator= (LogMessage const &)=delete |
std::string | getTimeStr () const |
uint32 | Size () const |
@ Returns size of the log message content in bytes More... | |
Static Public Member Functions | |
static std::string | getTimeStr (time_t time) |
Public Attributes | |
LogLevel const | level |
std::string const | type |
std::string const | text |
std::string | prefix |
std::string | param1 |
time_t | mtime |
Definition at line 26 of file LogMessage.h.
LogMessage::LogMessage | ( | LogLevel | _level, |
std::string_view | _type, | ||
std::string | _text | ||
) |
Definition at line 22 of file LogMessage.cpp.
LogMessage::LogMessage | ( | LogLevel | _level, |
std::string_view | _type, | ||
std::string | _text, | ||
std::string | _param1 | ||
) |
Definition at line 27 of file LogMessage.cpp.
|
delete |
std::string LogMessage::getTimeStr | ( | ) | const |
Definition at line 39 of file LogMessage.cpp.
|
static |
Definition at line 32 of file LogMessage.cpp.
|
delete |
|
inline |
@ Returns size of the log message content in bytes
Definition at line 45 of file LogMessage.h.
LogLevel const LogMessage::level |
Definition at line 37 of file LogMessage.h.
time_t LogMessage::mtime |
Definition at line 42 of file LogMessage.h.
std::string LogMessage::param1 |
Definition at line 41 of file LogMessage.h.
std::string LogMessage::prefix |
Definition at line 40 of file LogMessage.h.
std::string const LogMessage::text |
Definition at line 39 of file LogMessage.h.
std::string const LogMessage::type |
Definition at line 38 of file LogMessage.h.