Hello Devs,
I have enabled NRF_LOG in my project, but I would like to disable it in, for example, the main.c file, but keep it working in others files.
at the moment my solution is using a #ifdef directive and place it where I want disable the logging. removing or commenting the loggin lines could work, but it is unpractical for me because I have to add them later.
#ifdef enable_log
NRF_LOG_INFO("logging some")
#endif
is there another possible solution for this vert small issue?
Regards.
Arepa