From 8131d3e127afa105952f7659a23d6c2886408c4f Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 12 Oct 2018 03:21:21 +0300 Subject: [PATCH] Added SPDLOG_DISABLE_DEFAULT_LOGGER option to tweakme.h --- include/spdlog/details/registry.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/details/registry.h b/include/spdlog/details/registry.h index 053ac923..26935a25 100644 --- a/include/spdlog/details/registry.h +++ b/include/spdlog/details/registry.h @@ -14,13 +14,14 @@ #include "spdlog/details/periodic_worker.h" #include "spdlog/logger.h" +#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER // support for the default stdout color logger #ifdef _WIN32 #include "spdlog/sinks/wincolor_sink.h" #else #include "spdlog/sinks/ansicolor_sink.h" - #endif +#endif // SPDLOG_DISABLE_DEFAULT_LOGGER #include #include