That is NSLog that is doing that, you’d need to create your own logging method.
I usually create my own logging library. NSLog doesn’t cut it now days :)
I have logMessage, logWarning, logError, logErrorToFile, etc
You can define it such as: #define SVSLog(fmt, ...) [SVSLog logMessage:@"%s [Line %d] " fmt, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__]
Within logMessage: I figure out which format to use, then display accordingly. Instead of using NSLog, use CFLog(). You’ll need to bridge the string built: CFLog((__bridge CFStringRef)yourMessageString);
This gives me what I want, and slightly more configuration.
This document should help.
- Cody
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|