nRF5 SDK v13.0.0
Modules | Functions
Backend of nrf_log

The nrf_log backend interface. More...

Modules

 Logging sink configuration
 

Functions

ret_code_t nrf_log_backend_init (bool blocking)
 Function for initializing the logger backend. More...
 
nrf_log_std_handler_t nrf_log_backend_std_handler_get (void)
 Function for returning a pointer to a function for handling standard log entries (NRF_LOG_ERROR, etc.). More...
 
nrf_log_hexdump_handler_t nrf_log_backend_hexdump_handler_get (void)
 Function for returning a pointer to a function for handling hexdumps (NRF_LOG_HEXDUMP_ERROR, etc.). More...
 
uint8_t nrf_log_backend_getchar (void)
 Function for blocking reading of a byte from the backend. More...
 

Detailed Description

The nrf_log backend interface.

Function Documentation

uint8_t nrf_log_backend_getchar ( void  )

Function for blocking reading of a byte from the backend.

Returns
Byte.
nrf_log_hexdump_handler_t nrf_log_backend_hexdump_handler_get ( void  )

Function for returning a pointer to a function for handling hexdumps (NRF_LOG_HEXDUMP_ERROR, etc.).

Returns
Pointer to a handler.
ret_code_t nrf_log_backend_init ( bool  blocking)

Function for initializing the logger backend.

param blocking Set true if handler functions should block until completion.

Returns
NRF_SUCCESS after successful initialization, error code otherwise.
nrf_log_std_handler_t nrf_log_backend_std_handler_get ( void  )

Function for returning a pointer to a function for handling standard log entries (NRF_LOG_ERROR, etc.).

Returns
Pointer to a handler.

Documentation feedback | Developer Zone | Subscribe | Updated