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
|
@ -5,8 +5,7 @@
|
|||
*/
|
||||
#include <zephyr.h>
|
||||
#include <syscall_handler.h>
|
||||
#include <logging/log_msg2.h>
|
||||
#include <logging/log_core.h>
|
||||
#include <logging/log_internal.h>
|
||||
#include <logging/log_ctrl.h>
|
||||
|
||||
void z_log_msg2_finalize(struct log_msg2 *msg, const void *source,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue