mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 10:12:21 +00:00
Adding new implementation of logging subsystem. New features includes: support for multiple backends, improving performance by deferring log processing to the known context, adding timestamps and logs filtering options (compile time, runtime, module level, instance level). Console backend added as the example backend. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
22 lines
374 B
CMake
22 lines
374 B
CMake
zephyr_sources_ifdef(CONFIG_SYS_LOG sys_log.c)
|
|
zephyr_sources_ifdef(
|
|
CONFIG_KERNEL_EVENT_LOGGER
|
|
event_logger.c
|
|
kernel_event_logger.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_SYS_LOG_BACKEND_NET sys_log_net.c)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG
|
|
log_list.c
|
|
log_core.c
|
|
log_msg.c
|
|
log_output.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_LOG_BACKEND_UART
|
|
log_backend_uart.c
|
|
)
|