1

Is there a way to assign a color to NSLog statements so that it is easier to find them in the file. Not in the console, the file. Here's a screenshot to clarify what I'm asking

https://i.stack.imgur.com/ffnGE.png

NSGod
  • 22,699
  • 3
  • 58
  • 66

2 Answers2

1

You're looking to change the colour of Other function and method names

This will also change some other things though.

Evan
  • 750
  • 7
  • 13
-2

Yes for syntax highlighting in xcode. You find the coloring options in xcode next to the tab source code. However the options are limited.

NSLog itself produces only pure tetx. That means no for the actual log.

But you cold parse tags along that contain colorcodes. You would then need to write a parser that ready those color codes. Bit that would mean exporting the log into a tool das trqnslate the color tags and display the text with colors. Same with html.

But for development its more handy to stick with the regular output.

Helge Becker
  • 3,219
  • 1
  • 20
  • 33
  • From your other replies I realized that I missunderstand you. So this isnt helping the way you eant. However here is the requested link. http://en.wikipedia.org/wiki/BBCode – Helge Becker Dec 12 '13 at 00:12