I wrote a simple serial monitor that prints out ascii from UART0 which is default one on esp board and was wondering if there are any rules for what color or what type of log is being printed.
'Idf.py monitor' will show nice colorful warnings like errors in red and good status in green.
I would like to mimic the same behavior so I need some advice.
Thanks
Colors of log text
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: Colors of log text
Esp-idf spits out ANSI color codes. You'd need to interpret those.
Who is online
Users browsing this forum: No registered users and 81 guests