未验证 提交 e3e0aa7f 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3317 from a1012112796/writing/log

[ULOG] fix row size bug for backend which don't suport color
......@@ -396,7 +396,7 @@ void ulog_output_to_all_backend(rt_uint32_t level, const char *tag, rt_bool_t is
#if !defined(ULOG_USING_COLOR) || defined(ULOG_USING_SYSLOG)
backend->output(backend, level, tag, is_raw, log, size);
#else
if (backend->support_color)
if (backend->support_color || is_raw)
{
backend->output(backend, level, tag, is_raw, log, size);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册