Syntax highlighting/coloring in the XCode console - what's the latest?

I like to debug my code my by using logging. It is very useful to be able to display different log output in different colors (e.g., color all lines with "error" in it in red color). What are the options in the latest XCode?


What doesn't work:

- XCode by default does not support syntax highlighting in the console

- Plugins like XCode Colors (https://github.com/robbiehanson/XcodeColors) don't work anymore

- The new plugin api does not support the console

- The iOS Console.app does not support syntax highlighting

- Alternative consoles: Just found lemonjar (https://lemonjar.com/iosconsole/), also does not support syntax highlighting


Alternatives I found:

- NSLogger (https://github.com/fpillet/NSLogger), but it requires a network connection between phone and Mac (which I don't always have - hotspot works?)

- Install libimobiledevice (https://www.libimobiledevice.org), use its "idevicesyslog" and pipe it's output to a file. Then use a tool like LogTail (http://www.logtailapp.com) to display this file. Resulted in a little sluggish update.


Any other ways of doing it?

Thanks,

Markus

Did you file a bug report for improvement ?

No I didn't - don't have big hopes that would help, but why don't try, you are right

Not a full solution at all but I've found that using emoji can be a very helpful way of adding some color

Good idea, very creative 🙂

I actually played some more with NSLogger and it's pretty good. The desktop viewer does everything I need (filtering, colouring). Even if you don't have a Wifi available, you can enable your hotspot and connect the desktop viewer to the phone, nice.

Syntax highlighting/coloring in the XCode console - what's the latest?
 
 
Q