Configurable log levels for all the modules using Zephyr's logging.
This allows us to enable e.g debug output for the CAN module with CONFIG_CAN_LOG_LEVEL=4 without enabling the global CONFIG_LOG_DEFAULT_LEVEL=4 and being swamped with debug output from all of Zephyr's subsytems.
This commit is contained in:
committed by
Martin Jäger
parent
755e555611
commit
9ba540ec8c
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
#ifndef UNIT_TEST
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(daq, CONFIG_LOG_DEFAULT_LEVEL);
|
||||
LOG_MODULE_REGISTER(daq, CONFIG_DAQ_LOG_LEVEL);
|
||||
#endif
|
||||
|
||||
#include <math.h> // log for thermistor calculation
|
||||
|
||||
Reference in New Issue
Block a user