mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
use if statement instead of switch (changes of adding new time specifications outside of standard are probably unlikely anyhow)
pattern_time -> pattern_time_type ptime variable name -> pattern_time variable name make sure four spaces used, not tabs
This commit is contained in:
@@ -71,7 +71,7 @@ public:
|
||||
protected:
|
||||
void _sink_it(details::log_msg& msg) override;
|
||||
void _set_formatter(spdlog::formatter_ptr msg_formatter) override;
|
||||
void _set_pattern(const std::string& pattern, pattern_time ptime) override;
|
||||
void _set_pattern(const std::string& pattern, pattern_time_type pattern_time) override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<details::async_log_helper> _async_log_helper;
|
||||
|
Reference in New Issue
Block a user