|
ZeroErr
|
LogMessage is a class to store the log message. More...
#include <log.h>


Public Member Functions | |
| LogMessage () | |
| virtual zeroerr::String | str () const =0 |
| virtual void * | getRawLog (zeroerr::String name) const =0 |
| virtual std::map< zeroerr::String, zeroerr::String > | getData () const =0 |
| virtual | ~LogMessage ()=default |
Public Attributes | |
| const LogInfo * | info = nullptr |
| Timestamp | 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.
| zeroerr::LogMessage::LogMessage | ( | ) |
|
virtualdefault |
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >, and zeroerr::LogMessageImpl< detail::to_store_type_t< T >... >.
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >, and zeroerr::LogMessageImpl< detail::to_store_type_t< T >... >.
|
pure virtual |
Implemented in zeroerr::LogMessageImpl< T >, and zeroerr::LogMessageImpl< detail::to_store_type_t< T >... >.
| const LogInfo* zeroerr::LogMessage::info = nullptr |
| Timestamp zeroerr::LogMessage::time |