DM: add logger setting parser function

the logger setting can be input as acrn-dm params;
so need parse it to init logger system.

Tracked-On: #3012
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Minggui Cao
2019-04-25 17:13:07 +08:00
committed by wenlingz
parent 229d44a884
commit 1cd914f992
3 changed files with 61 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ struct logger_ops {
void (*output)(const char *fmt, va_list args);
};
void init_logger_setting(const char *opt);
int init_logger_setting(const char *opt);
void output_log(uint8_t level, const char *fmt, ...);
/*