mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Added "clone()" support to loggers
This commit is contained in:
@@ -59,7 +59,7 @@ int main(int, char *[])
|
||||
// release any threads created by spdlog, and drop all loggers in the registry.
|
||||
spdlog::shutdown();
|
||||
}
|
||||
// Exceptions will only be thrown upon failed logger or sink construction (not during logging)
|
||||
// Exceptions will only be thrown upon failed logger or sink construction (not during logging)
|
||||
catch (const spdlog::spdlog_ex &ex)
|
||||
{
|
||||
std::cout << "Log init failed: " << ex.what() << std::endl;
|
||||
|
Reference in New Issue
Block a user