Added active log level definitions for kompute

Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
Alejandro Saucedo 2022-04-13 10:51:43 +01:00
parent 8b08e7ccb5
commit 11b04510ea
5 changed files with 81 additions and 31 deletions

View file

@ -11,7 +11,7 @@ main(int argc, char* argv[])
#if KOMPUTE_ENABLE_SPDLOG
spdlog::set_level(
static_cast<spdlog::level::level_enum>(SPDLOG_ACTIVE_LEVEL));
static_cast<spdlog::level::level_enum>(KOMPUTE_LOG_LEVEL));
#endif
return RUN_ALL_TESTS();