Log flash backend configuration

nRF5 SDK v15.0.0

Macros

#define NRF_LOG_BACKEND_FLASH_ENABLED
Enable flash backend. More...
#define NRF_LOG_BACKEND_FLASH_CLI_CMDS
Enable CLI commands for this module. More...
#define NRF_LOG_BACKEND_FLASHLOG_ENABLED
Enable flashlog backend. More...
#define NRF_LOG_BACKEND_FLASHLOG_QUEUE_SIZE
Logger messages queue size. More...
#define NRF_LOG_BACKEND_CRASHLOG_ENABLED
Enable crashlog backend. More...
#define NRF_LOG_BACKEND_CRASHLOG_FIFO_SIZE
Number of log messages held to be flushed in panic. More...
#define NRF_LOG_BACKEND_FLASH_SER_BUFFER_SIZE
Size of the buffer used for serialize log message. More...
#define NRF_LOG_BACKEND_FLASH_START_PAGE
Starting page. More...
#define NRF_LOG_BACKEND_PAGES
Number of pages. More...

Detailed Description

Macro Definition Documentation

#define NRF_LOG_BACKEND_CRASHLOG_ENABLED

Enable crashlog backend.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_CRASHLOG_FIFO_SIZE

Number of log messages held to be flushed in panic.

Crashlog FIFO always keeps a defined number of the most recent logs (severity level is set on runtime). Note that the FIFO holds logger messages and thus the FIFO size determines increasing the pool of logger messages (see log message pool configuration).

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASH_CLI_CMDS

Enable CLI commands for this module.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASH_ENABLED

Enable flash backend.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASH_SER_BUFFER_SIZE

Size of the buffer used for serialize log message.

Message is trimmed if it is longer. It may happen in case of hexdump message. Buffer size must be multiple of 4.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASH_START_PAGE

Starting page.

If 0, then pages directly after the application are used.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASHLOG_ENABLED

Enable flashlog backend.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_FLASHLOG_QUEUE_SIZE

Logger messages queue size.

Queue holds log messages pending to be written to flash. Note that the queue holds logger messages and thus the queue size determines increasing the pool of logger messages (see log message pool configuration).

Note
This is an NRF_CONFIG macro.
#define NRF_LOG_BACKEND_PAGES

Number of pages.

Note
This is an NRF_CONFIG macro.