This commit is contained in:
gabime
2018-04-29 01:36:45 +03:00
parent 5ec37c05f7
commit 3c7103d90d
11 changed files with 23 additions and 28 deletions

View File

@@ -11,7 +11,7 @@
// All loggers created here share same global thread pool.
// Each log message is pushed to a queue along withe a shared pointer to the logger.
// If a logger deleted while having pending messages in the queue, it's actual destruction will defer
// until all its messages are processed by the thread pool.
// until all its messages are processed by the thread pool.
// This is because each message in the queue holds a shared_ptr to the originating logger.
#include "spdlog/async_logger.h"