3

I find NSLog() statements really hard to read because of the verbose date.

Is there a way to suppress the date on NSLog?

bobobobo
  • 64,917
  • 62
  • 258
  • 363

2 Answers2

9

Check out: http://cocoaheads.byu.edu/wiki/different-nslog That's a page on our CocoaHeads wiki explaining how to create your own NSLog() alternative (that does useful things, like print file name and line number).

Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
2

Nope, you'll have to write your own log method if you want it in a different format.

Jorge Israel Peña
  • 36,800
  • 16
  • 93
  • 123