logging: Split log_core into two files
Extract functions which are managing logging sources and backends into separate file: log_mgmt. So far those functions were in log_core mixed with functions specific to log message creation and log processing. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
733cd7ccd8
commit
6024bbc601
4 changed files with 229 additions and 196 deletions
|
@ -558,6 +558,12 @@ static inline uint32_t log_dynamic_source_id(struct log_source_dynamic_data *dat
|
|||
sizeof(struct log_source_dynamic_data);
|
||||
}
|
||||
|
||||
/* Initialize runtime filters */
|
||||
void z_log_runtime_filters_init(void);
|
||||
|
||||
/* Notify log_core that a backend was enabled. */
|
||||
void z_log_notify_backend_enabled(void);
|
||||
|
||||
/** @brief Dummy function to trigger log messages arguments type checking. */
|
||||
static inline __printf_like(1, 2)
|
||||
void z_log_printf_arg_checker(const char *fmt, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue