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