mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fix #1115
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user