mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Fixed pattern formatter constructor bug
This commit is contained in:
parent
9b5b4cd505
commit
314991ac60
@ -871,7 +871,7 @@ public:
|
|||||||
|
|
||||||
// use by default full formatter for if pattern is not given
|
// use by default full formatter for if pattern is not given
|
||||||
explicit pattern_formatter(pattern_time_type time_type = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol)
|
explicit pattern_formatter(pattern_time_type time_type = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol)
|
||||||
: pattern_()
|
: pattern_("%+")
|
||||||
, eol_(std::move(eol))
|
, eol_(std::move(eol))
|
||||||
, pattern_time_type_(time_type)
|
, pattern_time_type_(time_type)
|
||||||
, last_log_secs_(0)
|
, last_log_secs_(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user