Removed close() from sink to have RAII semantics

This commit is contained in:
gabi
2014-11-05 23:07:20 +02:00
parent 03d9abe8e2
commit 58688d7d1c
12 changed files with 12 additions and 42 deletions

View File

@@ -116,7 +116,7 @@ inline void spdlog::set_level(level::level_enum log_level)
return details::registry::instance().set_level(log_level);
}
inline void spdlog::close()
inline void spdlog::stop()
{
return details::registry::instance().close_all();
return details::registry::instance().stop_all();
}