时间格式化子项 更多...
#include <format.hpp>
Public 成员函数 | |
TimeFormatItem (const std::string &fmt="%H:%M:%S") | |
构造时间格式化子项 | |
void | format (std::ostream &out, LogMsg &msg) override |
格式化时间 | |
Private 属性 | |
std::string | _time_fmt |
时间格式 | |
额外继承的成员函数 | |
![]() | |
using | ptr = std::shared_ptr< FormatItem > |
时间格式化子项
|
inline |
构造时间格式化子项
fmt | 时间格式,默认为"%H:%M:%S" |
|
inlineoverridevirtual |
|
private |
时间格式