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


Public 成员函数 | |
| 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 |
Public 属性 | |
| const LogInfo * | info |
| 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 | ( | ) |
|
pure virtual |
在 zeroerr::LogMessageImpl< T > 内被实现.
|
pure virtual |
在 zeroerr::LogMessageImpl< T > 内被实现.
|
pure virtual |
在 zeroerr::LogMessageImpl< T > 内被实现.
| const LogInfo* zeroerr::LogMessage::info |
| Timestamp zeroerr::LogMessage::time |