nrfxlib API 3.4.99
Loading...
Searching...
No Matches

◆ mpsl_log_handlers_set()

int32_t mpsl_log_handlers_set ( const mpsl_log_handlers_t * handlers)

#include <mpsl/include/mpsl.h>

Register the handlers for the log library.

When the log handlers are registered, MPSL and dependent libraries will call functions provided in handlers.

Parameters
[in]handlersThe log handlers, or NULL to disable log forwarding. The handlers are copied and stored internally.
Return values
0Success.
-NRF_EPERMThis API must be called before mpsl_init().