mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Fix #1115
This commit is contained in:
parent
e68cf1c9ed
commit
b9cc158e52
@ -58,7 +58,7 @@ SPDLOG_INLINE void swap(logger &a, logger &b)
|
||||
a.swap(b);
|
||||
}
|
||||
|
||||
void logger::log(source_loc loc, level::level_enum lvl, const char *msg)
|
||||
SPDLOG_INLINE void logger::log(source_loc loc, level::level_enum lvl, const char *msg)
|
||||
{
|
||||
if (!should_log(lvl))
|
||||
{
|
||||
@ -231,4 +231,4 @@ SPDLOG_INLINE void logger::err_handler_(const std::string &msg)
|
||||
fmt::print(stderr, "[*** LOG ERROR ***] [{}] [{}] {}\n", date_buf, name(), msg);
|
||||
}
|
||||
}
|
||||
} // namespace spdlog
|
||||
} // namespace spdlog
|
||||
|
Loading…
Reference in New Issue
Block a user