Skip to content

Commit e3e0aa7

Browse files
authored
Merge pull request #3317 from a1012112796/writing/log
[ULOG] fix row size bug for backend which don't suport color
2 parents f5ae4d2 + 73cae95 commit e3e0aa7

File tree

1 file changed

+1
-1
lines changed
  • components/utilities/ulog

1 file changed

+1
-1
lines changed

components/utilities/ulog/ulog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ void ulog_output_to_all_backend(rt_uint32_t level, const char *tag, rt_bool_t is
396396
#if !defined(ULOG_USING_COLOR) || defined(ULOG_USING_SYSLOG)
397397
backend->output(backend, level, tag, is_raw, log, size);
398398
#else
399-
if (backend->support_color)
399+
if (backend->support_color || is_raw)
400400
{
401401
backend->output(backend, level, tag, is_raw, log, size);
402402
}

0 commit comments

Comments
 (0)