In the nRF SDK 15.2, I am using the function idle_state_handle() which has a macro NRF_LOG_PROCESS() which is defined in another header file as NRF_LOG_INTERNAL_PROCESS() which in turn is defined as nrf_log_frontend_dequeue(). Why did we have to redefine NRF_LOG_PROCESS(). Is it just to avoid using too many header files in the main application or to give structure to the code?
Thank you so much. I would highly appreciate the clarification.