logging: Use cbprintf flags for log_printk
Use cbprintf flags also when creating log message for printk entry. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
dc9c5fca4f
commit
02664dbc91
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ void z_log_vprintk(const char *fmt, va_list ap)
|
||||||
}
|
}
|
||||||
|
|
||||||
z_log_msg_runtime_vcreate(CONFIG_LOG_DOMAIN_ID, NULL,
|
z_log_msg_runtime_vcreate(CONFIG_LOG_DOMAIN_ID, NULL,
|
||||||
LOG_LEVEL_INTERNAL_RAW_STRING, NULL, 0, 0,
|
LOG_LEVEL_INTERNAL_RAW_STRING, NULL, 0,
|
||||||
|
Z_LOG_MSG2_CBPRINTF_FLAGS(0),
|
||||||
fmt, ap);
|
fmt, ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue