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)
|
if (_pattern_time == pattern_time_type::local)
|
||||||
return details::os::localtime(log_clock::to_time_t(msg.time));
|
return details::os::localtime(log_clock::to_time_t(msg.time));
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user