shell: Add support for notifying about dropped logs
Extended shell log backend to print warning message on dropped log messages. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
a9acc6d4d7
commit
be4b2cd62d
2 changed files with 38 additions and 7 deletions
|
@ -27,7 +27,7 @@ enum shell_log_backend_state {
|
|||
|
||||
/** @brief Shell log backend control block (RW data). */
|
||||
struct shell_log_backend_control_block {
|
||||
atomic_t cnt;
|
||||
atomic_t dropped_cnt;
|
||||
enum shell_log_backend_state state;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue