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.
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.
精彩评论