Now only getting the date if formater needs to display date related information.

This commit is contained in:
doug1234
2022-01-13 20:57:14 -05:00
parent 4cfdc8c5c8
commit eab522e743
2 changed files with 39 additions and 5 deletions

View File

@@ -103,6 +103,7 @@ private:
std::string pattern_;
std::string eol_;
pattern_time_type pattern_time_type_;
bool needs_time_;
std::tm cached_tm_;
std::chrono::seconds last_log_secs_;
std::vector<std::unique_ptr<details::flag_formatter>> formatters_;