ZeroErr
|
LogMessageImpl is the implementation of the LogMessage. More...
#include <log.h>
Classes | |
struct | GetTuplePtr |
struct | PrintTupleData |
Public Member Functions | |
LogMessageImpl (T... args) | |
std::string | str () const override |
void * | getRawLog (std::string name) const override |
std::map< std::string, std::string > | getData () const override |
Public Member Functions inherited from zeroerr::LogMessage | |
LogMessage () | |
Public Attributes | |
std::tuple< T... > | args |
Public Attributes inherited from zeroerr::LogMessage | |
const LogInfo * | info |
std::chrono::system_clock::time_point | time |
LogMessageImpl is the implementation of the LogMessage.
LogMessageImpl is the implementation of the LogMessage. It stores the arguments in a tuple and provides the str() function to convert the log message to a string. All fields could be accessed by getRawLog() or getData().
|
inline |
|
inlineoverridevirtual |
Implements zeroerr::LogMessage.
|
inlineoverridevirtual |
Implements zeroerr::LogMessage.
|
inlineoverridevirtual |
Implements zeroerr::LogMessage.
std::tuple<T...> zeroerr::LogMessageImpl< T >::args |