Minor refactor on spdlog_active_level macro
This commit is contained in:
parent
fb95694944
commit
72cd1b51a3
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ static const char* KOMPUTE_LOG_TAG = "KomputeLog";
|
|||
#endif // KOMPUTE_VK_API_VERSION
|
||||
|
||||
// SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import
|
||||
#if !defined(SPDLOG_ACTIVE_LEVEL)
|
||||
#ifndef SPDLOG_ACTIVE_LEVEL
|
||||
#if DEBUG
|
||||
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ static const char* KOMPUTE_LOG_TAG = "KomputeLog";
|
|||
#endif // KOMPUTE_VK_API_VERSION
|
||||
|
||||
// SPDLOG_ACTIVE_LEVEL must be defined before spdlog.h import
|
||||
#if !defined(SPDLOG_ACTIVE_LEVEL)
|
||||
#ifndef SPDLOG_ACTIVE_LEVEL
|
||||
#if DEBUG
|
||||
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue