Allow overriding need_localtime for custom formatter

This commit is contained in:
Jeeyong Um
2022-05-07 20:39:10 +08:00
parent a9347017db
commit 38929f856d
3 changed files with 40 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ public:
return *this;
}
void set_pattern(std::string pattern);
void need_localtime(bool need = true);
private:
std::string pattern_;