mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
brace styling
This commit is contained in:
parent
d98d54896b
commit
7e09f01847
@ -665,7 +665,8 @@ inline void spdlog::pattern_formatter::handle_flag(char flag)
|
||||
}
|
||||
}
|
||||
|
||||
inline std::tm spdlog::pattern_formatter::get_time(details::log_msg& msg) {
|
||||
inline std::tm spdlog::pattern_formatter::get_time(details::log_msg& msg)
|
||||
{
|
||||
if (_pattern_time == pattern_time_type::local)
|
||||
return details::os::localtime(log_clock::to_time_t(msg.time));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user