zephyr/subsys/logging
Krzysztof Chruscinski c917e6c2ce lib: os: cbprintf: Extend API to support new packaging modes
Added new flags to packaging API:
- CBPRINTF_PACKAGE_ADD_RO_STR_IDXS - when set, read-only string
  locations are appended to the package
- CBPRINTF_PACKAGE_ADD_RW_STR_IDXS - when set, read-write string
  locations are appended to the package (instead of appending actual
  strings)
- CBPRINTF_PACKAGE_FIRST_RO_STR_CNT(n) - indicate that n first strings
  are known to be read only. Ignored in runtime packaging.

Add function for copying packages with optional appending strings.

Changed CBPRINTF_MUST_RUNTIME_PACKAGE to use same flags as packaging.

Aligned logging and test to those changes.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-03-14 11:16:14 +01:00
..
mipi_syst
CMakeLists.txt logging: Prevent multiple arguments evaluation 2022-02-22 14:44:11 +01:00
Kconfig logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.backends kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.filtering logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.formatting kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.misc kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.mode logging: Fix Kconfig dependency 2022-03-03 12:06:10 -05:00
Kconfig.processing kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.template.log_config logging: Add choice name in template 2021-09-06 14:11:06 -04:00
Kconfig.template.log_format_config logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_adsp.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_fs.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_native_posix.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_net.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_rtt.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_spinel.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_swo.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_uart.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_backend_xtensa_sim.c logging: Add support to backends to switch log format at runtime. 2022-02-23 14:12:22 -06:00
log_cmds.c logging: Add common api for getting memory usage 2022-02-21 20:41:17 -05:00
log_core.c lib: os: cbprintf: Extend API to support new packaging modes 2022-03-14 11:16:14 +01:00
log_list.c
log_list.h
log_mgmt.c logging: Add API to get log_backend instance by name. 2022-02-23 14:12:22 -06:00
log_minimal.c logging: log_minimal: Fix violations to rule 10.4 2021-04-20 15:50:49 -04:00
log_msg2.c lib: os: cbprintf: Extend API to support new packaging modes 2022-03-14 11:16:14 +01:00
log_msg.c logging: Add common api for getting memory usage 2022-02-21 20:41:17 -05:00
log_output_dict.c logging: add support for dictionary based logging 2021-04-28 22:25:42 +02:00
log_output_syst.c logging: syst: fix logging v2 with strings as arguments 2022-02-04 11:14:55 +01:00
log_output.c logging: Add API's to switch logging formats at runtime. 2022-02-23 14:12:22 -06:00