Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode's colored console output

Is possible to format/color the output in the Xcode console? I know that you can do that while debugging CoreData on Mac by setting: com.apple.CoreData.SQLDebug 3 and com.apple.CoreData.SyntaxColoredLogging YES

What with our own logs, can we color/format them too somehow?

like image 847
krasnyk Avatar asked May 01 '10 12:05

krasnyk


1 Answers

I found a plug-in that supports console logging in ANSI color-codes here: http://deepitpro.com/en/articles/XcodeColors/info/

There's also a fork of this same code that works well and uses a custom syntax to color the text: https://github.com/robbiehanson/XcodeColors

like image 99
Stu Avatar answered Oct 20 '22 17:10

Stu