This commit is contained in:
Gabi Melman 2019-06-19 01:24:06 +03:00 committed by GitHub
parent e68cf1c9ed
commit b9cc158e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ SPDLOG_INLINE void swap(logger &a, logger &b)
a.swap(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)) 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); fmt::print(stderr, "[*** LOG ERROR ***] [{}] [{}] {}\n", date_buf, name(), msg);
} }
} }
} // namespace spdlog } // namespace spdlog