logger: Add init() api and simplify init and activate
Simplify logger initialization process using already existing loops. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
2f6370c0dd
commit
6162caf787
3 changed files with 10 additions and 11 deletions
|
@ -30,6 +30,7 @@ struct log_backend_api {
|
|||
struct log_msg *msg);
|
||||
|
||||
void (*panic)(const struct log_backend *const backend);
|
||||
void (*init)(void);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue