ZeroErr
|
LogMessage is a class to store the log message. More...
#include <log.h>
Public Member Functions | |
LogMessage () | |
virtual std::string | str () const =0 |
virtual void * | getRawLog (std::string name) const =0 |
virtual std::map< std::string, std::string > | getData () const =0 |
Public Attributes | |
const LogInfo * | info |
std::chrono::system_clock::time_point | time |
LogMessage is a class to store the log message.
LogMessage is a class to store the log message and a base class for all the messages implementation. You can create a log message with any type of arguments and it will store the arguments in a tuple. The log message can be converted to a string with the str() function. You can also get the raw pointer of the arguments with the getRawLog() function.
|
inline |
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >.
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >.
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >.
const LogInfo* zeroerr::LogMessage::info |
std::chrono::system_clock::time_point zeroerr::LogMessage::time |