include spdlog/fmt/ostr.h to be able to parse things that implement

operator << ostream
This commit is contained in:
Christopher Lackner 2019-01-15 16:43:39 +01:00
parent 1d37a82185
commit 7c6e2ae35e

View File

@ -13,11 +13,12 @@
#define SPDLOG_DEBUG_ON
#endif // NETGEN_LOG_DEBUG
#include <spdlog/fmt/ostr.h> // to be able to parse anything to logger that implements operator << ostream
#include <spdlog/logger.h>
#include <spdlog/sinks/sink.h>
#include <spdlog/spdlog.h>
#define NETGEN_DEBUG_LOG(logger, ...) SPDLOG_DEBUG(logger, __VA_ARGS__)
#define NETGEN_DEBUG_LOG(...) SPDLOG_DEBUG(__VA_ARGS__)
#else // NETGEN_USE_SPDLOG