Wojtek
Wojtek

Reputation: 239

Disable date/process ID in xcode output

How can I remove date and process ID from output window in XCode? They only take up a lot of space without real value.

Upvotes: 1

Views: 363

Answers (1)

Anoop Vaidya
Anoop Vaidya

Reputation: 46563

Use this macro, this will override the default behavior of NSLog,

#define NSLog(STRING, ...) printf("%s\n", [[NSString stringWithFormat:STRING, ##__VA_ARGS__] UTF8String]);

Upvotes: 3

Related Questions