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
|
@ -9,8 +9,7 @@
|
|||
#include <logging/log_backend.h>
|
||||
#include <logging/log_ctrl.h>
|
||||
#include <logging/log_output.h>
|
||||
#include <logging/log_msg2.h>
|
||||
#include <logging/log_core2.h>
|
||||
#include <logging/log_internal.h>
|
||||
#include <sys/mpsc_pbuf.h>
|
||||
#include <sys/printk.h>
|
||||
#include <sys_clock.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue