This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A logging function for Objective-C that doesn't output the extras NSLog() does. | |
void quicklog(NSString *string, ...) { | |
va_list args; | |
va_start(args, string); | |
NSString *contents = [[NSString alloc] initWithFormat:string arguments:args]; | |
va_end(args); | |
printf("%s\n", [contents UTF8String]); | |
} |
OlderNewer