mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
registery and periodic flusher fixes.
This commit is contained in:
@@ -117,6 +117,12 @@ inline void drop_all()
|
||||
details::registry::instance().drop_all();
|
||||
}
|
||||
|
||||
// stop any running threads started by spdlog and clean registry loggers
|
||||
void shutdown()
|
||||
{
|
||||
details::registry::instance().shutdown();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Trace & Debug can be switched on/off at compile time for zero cost debug
|
||||
|
Reference in New Issue
Block a user