mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 04:51:18 +00:00
16 lines
310 B
C++
16 lines
310 B
C++
|
#pragma once
|
||
|
|
||
|
#ifdef NDEBUG
|
||
|
#define SPDLOG_ACTIVE_LEVEL 2 // info
|
||
|
#else
|
||
|
#define SPDLOG_ACTIVE_LEVEL 0 // trace
|
||
|
#endif
|
||
|
|
||
|
#include <spdlog/spdlog.h>
|
||
|
|
||
|
#define TRACE SPDLOG_TRACE
|
||
|
#define DEBUG SPDLOG_DEBUG
|
||
|
#define INFO SPDLOG_INFO
|
||
|
#define WARN SPDLOG_WARN
|
||
|
#define ERROR SPDLOG_ERROR
|
||
|
#define CRITICAL SPDLOG_CRITICAL
|