logging: Cleanup in the internal headers
Added log_internal.h for internal APIs. Move functions out of log_core.h. Log_core.h shall have only macros and functions related to logging message creation. Log_core.h is included by log.h thus number of dependencies in that headers must be limited to minimum to allow including without risk of circular dependencies. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
8d20e8d5bc
commit
03165c914b
12 changed files with 161 additions and 169 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <shell/shell.h>
|
||||
#include <logging/log_ctrl.h>
|
||||
#include <logging/log.h>
|
||||
#include <logging/log_internal.h>
|
||||
#include <string.h>
|
||||
|
||||
typedef int (*log_backend_cmd_t)(const struct shell *shell,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue