[ULOG] fix raw size bug for backend which don't suport color
This commit is contained in:
parent
87f14c54cb
commit
73cae9564b
|
@ -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)
|
#if !defined(ULOG_USING_COLOR) || defined(ULOG_USING_SYSLOG)
|
||||||
backend->output(backend, level, tag, is_raw, log, size);
|
backend->output(backend, level, tag, is_raw, log, size);
|
||||||
#else
|
#else
|
||||||
if (backend->support_color)
|
if (backend->support_color || is_raw)
|
||||||
{
|
{
|
||||||
backend->output(backend, level, tag, is_raw, log, size);
|
backend->output(backend, level, tag, is_raw, log, size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue