ZeroErr
载入中...
搜索中...
未找到
zeroerr::LogMessageImpl< T > 模板结构体 参考final

LogMessageImpl is the implementation of the LogMessage. 更多...

#include <log.h>

类 zeroerr::LogMessageImpl< T > 继承关系图:
zeroerr::LogMessageImpl< T > 的协作图:

struct  GetTuplePtr
 
struct  PrintTupleData
 

Public 成员函数

 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 成员函数 继承自 zeroerr::LogMessage
 LogMessage ()
 

Public 属性

std::tuple< T... > args
 
- Public 属性 继承自 zeroerr::LogMessage
const LogInfoinfo
 
std::chrono::system_clock::time_point time
 

详细描述

template<typename... T>
struct zeroerr::LogMessageImpl< T >

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().

构造及析构函数说明

◆ LogMessageImpl()

template<typename... T>
zeroerr::LogMessageImpl< T >::LogMessageImpl ( T...  args)
inline

成员函数说明

◆ getData()

template<typename... T>
std::map< std::string, std::string > zeroerr::LogMessageImpl< T >::getData ( ) const
inlineoverridevirtual

实现了 zeroerr::LogMessage.

◆ getRawLog()

template<typename... T>
void * zeroerr::LogMessageImpl< T >::getRawLog ( std::string  name) const
inlineoverridevirtual

实现了 zeroerr::LogMessage.

◆ str()

template<typename... T>
std::string zeroerr::LogMessageImpl< T >::str ( ) const
inlineoverridevirtual

实现了 zeroerr::LogMessage.

类成员变量说明

◆ args

template<typename... T>
std::tuple<T...> zeroerr::LogMessageImpl< T >::args

该结构体的文档由以下文件生成: