Fix bug with log levels

pull/42/head
sh123 2021-11-13 11:04:03 +02:00
rodzic 59b94b4be8
commit 1805d55500
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -39,6 +39,8 @@ void Service::setup(const Config &conf)
// disable logging when USB is used for data transfer
if (config_.UsbSerialEnable) {
LOG_SET_LEVEL(DebugLogLevel::LVL_NONE);
} else {
LOG_SET_LEVEL(config_.LogLevel);
}