diff --git a/python/src/main.cpp b/python/src/main.cpp index 26ccce2..1a20cc9 100644 --- a/python/src/main.cpp +++ b/python/src/main.cpp @@ -29,7 +29,7 @@ PYBIND11_MODULE(kp, m) { m.def("log_level", [](uint8_t logLevel) { #if KOMPUTE_ENABLE_SPDLOG spdlog::set_level( - static_cast(SPDLOG_LEVEL_INFO)); + static_cast(logLevel)); #else SPDLOG_WARN("SPDLOG not enabled so log level config function not supported"); #endif