Logger Module Config Question SDK12

I want to enable the Logger Module to have the high default severity of Error and then be able to enable lower level severities on an individual module for debugging. Is this possible with the current API?

  • Hi again

    Apparently the idea was to be able to limit the logs globally, without having to change every module, rather than being able to give one module a lower log level than the default.

    As he pointed out you could change the nrf_log_internal.h file easily to work the way you propose, by changing the && to || inside the various NRF_LOG_INTERNAL_.... macros in nrf_log_internal.h (between lines 99 to 164).

Reply Children
No Data