zephyr/subsys/logging
Krzysztof Chruscinski 4213dbb2e6 logging: add arguments counting in log_generic
Log_generic() can be used by external logger systems to map to zephyr
logger subsystem. Function has variable number of arguments. So far
logger assumed maximal number of arguments to avoid scanning
string to count number of arguments. In outcome, uninitialized memory
was treated as valid argument in a message (but discarded when actual
string formatting took place). Valgrind complained about that so
log_generic() has been extended to scan the string and count number
of arguments and build message with valid number of arguments.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2018-10-31 14:32:21 +01:00
..
CMakeLists.txt logger: Add a Segger RTT backend 2018-10-31 12:47:53 +01:00
Kconfig logger: fix PR codestyle issues 2018-10-31 12:47:53 +01:00
Kconfig.template.log_config logging: add template for log configuration 2018-09-14 12:32:56 -04:00
log_backend_native_posix.c logging: Add autostart option to LOG_BACKEND_DEFINE 2018-10-11 13:29:50 +03:00
log_backend_rtt.c logger: console: init rtt only once 2018-10-31 12:47:53 +01:00
log_backend_uart.c logging: Add autostart option to LOG_BACKEND_DEFINE 2018-10-11 13:29:50 +03:00
log_cmds.c shell: examples unification 2018-10-19 13:35:56 +02:00
log_core.c logging: add arguments counting in log_generic 2018-10-31 14:32:21 +01:00
log_list.c logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_list.h logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_msg.c logging: Fix possible out-of-bound access in log_output 2018-10-30 15:29:28 +01:00
log_output.c logging: Add optional function name prefix 2018-10-24 11:14:26 +01:00
sys_log_net.c
sys_log.c