Added SPDLOG_NO_REGISTRY_MUTEX option to tweakme.h

This commit is contained in:
gabime
2015-05-09 21:32:53 +03:00
parent 9cad840a72
commit 6991857a8e
2 changed files with 28 additions and 17 deletions

View File

@@ -65,3 +65,8 @@
// #define SPDLOG_TRACE_ON
///////////////////////////////////////////////////////////////////////////////
// Uncomment to avoid locking in the registry operations (spdlog::get(), spdlog::drop() spdlog::register())
// Use only if your code never modifes concurrently the registry
// Note that upon creating a logger the registry is modified by spdlog..
// #define SPDLOG_NO_REGISTRY_MUTEX