diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2025-11-17 12:48:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 12:48:15 -0500 |
| commit | 724616a208126b08721767ceb32e6214671e2b59 (patch) | |
| tree | 88c725a36598dd2a2f7cdfeb6a4faed023f4eada /CMake | |
| parent | 0e9c5abddad71db7e141e20281883ad3f38503a2 (diff) | |
LUS bump to make trace available to debug+release (#1334)
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/logging.cmake | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/CMake/logging.cmake b/CMake/logging.cmake deleted file mode 100644 index 12b201b53..000000000 --- a/CMake/logging.cmake +++ /dev/null @@ -1,20 +0,0 @@ -set(SPDLOG_LEVEL_TRACE 0) -set(SPDLOG_LEVEL_DEBUG 1) -set(SPDLOG_LEVEL_INFO 2) -set(SPDLOG_LEVEL_WARN 3) -set(SPDLOG_LEVEL_ERROR 4) -set(SPDLOG_LEVEL_CRITICAL 5) -set(SPDLOG_LEVEL_OFF 6) -set(LOG_LEVELS "SPDLOG_LEVEL_TRACE;SPDLOG_LEVEL_DEBUG;SPDLOG_LEVEL_INFO;SPDLOG_LEVEL_WARN;SPDLOG_LEVEL_ERROR;SPDLOG_LEVEL_CRITICAL;SPDLOG_LEVEL_OFF") -set(LOG_LEVEL SPDLOG_LEVEL_TRACE CACHE STRING "The spdlog level that prints will be logged out. Overridden to SPDLOG_LEVEL_ERROR on Release builds.") -set_property(CACHE LOG_LEVEL PROPERTY STRINGS ${LOG_LEVELS}) -if(NOT LOG_LEVEL IN_LIST LOG_LEVELS) - message(FATAL_ERROR "LOG_LEVEL must be one of ${LOG_LEVELS}") -endif() -set(SPDLOG_ACTIVE_LEVEL ${${LOG_LEVEL}}) -set(LOG_LEVEL_GAME_PRINTS ${SPDLOG_LEVEL_OFF}) - -add_compile_definitions( - LOG_LEVEL_GAME_PRINTS=${LOG_LEVEL_GAME_PRINTS} - SPDLOG_ACTIVE_LEVEL=${SPDLOG_ACTIVE_LEVEL} -) |
