satya
satya

Reputation: 11

Remove timestamp from Xcode debugger output

I have searched in Google but haven't found any way to remove the timestamp from the XCODE Debugger's output.

{
  [Session started at 2011-07-22 12:30:17 +0530.]
  ***2011-07-22 12:30:17.435 obj-compose-obj-c-1[3070:10b]*** *** _NSAutoreleaseNoPool(): Object 0x104a20 of class NSCFDictionary autoreleased with no pool in place - just leaking
  Stack: (0x946eef4f 0x945fb432)
  ***2011-07-22 12:30:17.437 obj-compose-obj-c-1[3070:10b]***  1 fl I am the best tire from MRF 

  The Debugger has exited with status 0.

 }

I want to remove it as I need a clear output. The actual output is somehow messy.

Upvotes: 0

Views: 812

Answers (1)

Corey Larson
Corey Larson

Reputation: 1607

You could use a #define and some C99 macro magic, as described here to fix this. Using this technique, I was able to achieve just the logging capabilities I wanted, as a drop in solution.

Upvotes: 1

Related Questions