New compile time API using SPDLOG_ACTIVE_LEVEL

This commit is contained in:
gabime
2018-11-11 18:15:24 +02:00
parent f1e79bde2e
commit 0e77c3391b
8 changed files with 91 additions and 66 deletions

View File

@@ -10,8 +10,7 @@
#include <ostream>
#include <string>
#define SPDLOG_TRACE_ON
#define SPDLOG_DEBUG_ON
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
#define SPDLOG_ENABLE_MESSAGE_COUNTER
#include "spdlog/spdlog.h"