mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Allow overriding need_localtime for custom formatter
This commit is contained in:
@@ -98,6 +98,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
void set_pattern(std::string pattern);
|
||||
void need_localtime(bool need = true);
|
||||
|
||||
private:
|
||||
std::string pattern_;
|
||||
|
Reference in New Issue
Block a user