fjpanag commented on PR #6363: URL: https://github.com/apache/incubator-nuttx/pull/6363#issuecomment-1169925719
@xiaoxiang781216 @pkarashchenko please have a look on this proposition. I think that this is the "best" solution, handling most of the edge cases. So, formatting is applied before any print, once for the date and other prefixes and if needed for the message itself. When printing is complete, the color is reset. This way printing is not affected by any previous colors applied, and it leaves the terminal in a normal state. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org