mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 22:27:47 +00:00
[logging] correct the log level and region settings (#5749)
This commit is contained in:
@@ -96,9 +96,7 @@ static void Log(otLogLevel aLogLevel,
|
||||
break;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_LOG_PREPEND_REGION
|
||||
IgnoreError(logString.Append("[%s]", levelStr));
|
||||
#endif
|
||||
IgnoreError(logString.Append("%s", levelStr));
|
||||
}
|
||||
#endif // OPENTHREAD_CONFIG_LOG_PREPEND_LEVEL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user