Page 1 of 1

Colors of log text

Posted: Mon Mar 04, 2019 12:53 pm
by Deouss
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

Re: Colors of log text

Posted: Mon Mar 04, 2019 3:18 pm
by ESP_Sprite
Esp-idf spits out ANSI color codes. You'd need to interpret those.