views:

235

answers:

1

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?

A: 

In Preferences => Debugging you can set 5 different font/color combinations for the various different types of console input/output. I'm not sure that you can change text output color from within your console program though.

Screen shot

Paul R
Yeah that is correct, but with this option you can just color input/output/prompt. But let's imagine than in your application you have code that is responsible with DB actions, some for Internet actions. So that you would like to have Internet actions' logs to be colored, let's say Green and DB actions' logs to be colored in blue. Would that be possible or the apple feature post would be needed?
krasnyk
So it seems to me that the feature post would be needed. What a pity :)
krasnyk
I suggest you submit a feature request via Apple's bug reporter.
Paul R