6#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_CTRL_H_
7#define ZEPHYR_INCLUDE_LOGGING_LOG_CTRL_H_
172#if defined(CONFIG_LOG) && !defined(CONFIG_LOG_MINIMAL)
173#define LOG_CORE_INIT() log_core_init()
174#define LOG_INIT() log_init()
175#define LOG_PANIC() log_panic()
176#define LOG_PROCESS() log_process(false)
178#define LOG_CORE_INIT() do { } while (false)
181#define LOG_PROCESS() false
void
Definition: eswifi_shell.c:15
uint32_t log_src_cnt_get(uint32_t domain_id)
Get number of independent logger sources (modules and instances)
void log_init(void)
Function for user initialization of the logger.
uint32_t log_filter_set(struct log_backend const *const backend, uint32_t domain_id, int16_t source_id, uint32_t level)
Set filter on given source for the provided backend.
void log_core_init(void)
Function system initialization of the logger.
bool log_process(bool bypass)
Process one pending log message.
void log_thread_set(k_tid_t process_tid)
Function for providing thread which is processing logs.
void log_panic(void)
Switch the logger subsystem to the panic mode.
const char * log_source_name_get(uint32_t domain_id, uint32_t source_id)
Get name of the source (module or instance).
uint32_t log_filter_get(struct log_backend const *const backend, uint32_t domain_id, int16_t source_id, bool runtime)
Get source filter for the provided backend.
uint32_t log_buffered_cnt(void)
Return number of buffered log messages.
const char * log_domain_name_get(uint32_t domain_id)
Get name of the domain.
void log_backend_enable(struct log_backend const *const backend, void *ctx, uint32_t level)
Enable backend with initial maximum filtering level.
log_timestamp_t(* log_timestamp_get_t)(void)
Definition: log_ctrl.h:32
int log_set_timestamp_func(log_timestamp_get_t timestamp_getter, uint32_t freq)
Function for providing timestamp function.
void log_backend_disable(struct log_backend const *const backend)
Disable backend.
uint32_t log_timestamp_t
Definition: log_msg2.h:34
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__INT16_TYPE__ int16_t
Definition: stdint.h:43
Logger backend structure.
Definition: log_backend.h:62