Created
September 26, 2012 21:43
-
-
Save ferostabio/3790795 to your computer and use it in GitHub Desktop.
NSLog alternative that doesn't logs time and process
This file contains 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
void QuietLog (NSString *format, ...) { | |
va_list argList; | |
va_start (argList, format); | |
NSString *string; | |
string = [[NSString alloc] initWithFormat: format | |
arguments: argList]; | |
va_end (argList); | |
printf ("%s\n", [string UTF8String]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment