mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
Removed close() from sink to have RAII semantics
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user