mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
brace styling
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user