Modified log_filter_set function to limit level if requested level is not compiled in. Additionally, extended function to return actually set level. Removed redundant code from log_cmds. Change fixes shell log backend initialization which was setting log levels without taking into account compiled in limits. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.template.log_config | ||
| log_backend_native_posix.c | ||
| log_backend_rtt.c | ||
| log_backend_uart.c | ||
| log_cmds.c | ||
| log_core.c | ||
| log_list.c | ||
| log_list.h | ||
| log_msg.c | ||
| log_output.c | ||
| sys_log_net.c | ||
| sys_log.c | ||