Hello,
I want to use standalone logging for each file (/module)(/driver) of my program, therefore register different logging modules with different log levels each.
Registering modules isn't the problem, but if I initialize different modules their log levels interfere with each other and I want to be able to change log levels for each file/module.
Im initializing the modules with:
#include <logging/log.h>
LOG_MODULE_REGISTER(name, LOG_LEVEL_X);
where name is different for each file/module. I've also tried to work around with using
LOG_MODULE_DECLARE(name, LOG_LEVEL_X);
but didn't get it working. Either I see no logs or I see all of them.
Thanks for your help.
nRF Connect SDK Version: v2.1.0-rc2
Evalboard: nrf9160dk