¿Tiene NSLog() variantes que se imprimen sin las marcas de fecha y hora y la nueva línea automática?¿Es posible NSLog() sin las marcas de fecha y hora y la nueva línea automática?
Gracias. Ahora, con siguiente código, puedo imprimir NSString, cCadena, u objetos:
#import <Foundation/Foundation.h>
#import <stdio.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSString *s = @"Hello, World!";
NSDate *today = [NSDate date];
NSLog(@"%@", s);
printf("%s at %s", [s UTF8String], [[today description] UTF8String]);
[pool drain];
return 0;
}
Use [** 'MLog.h en GitHub' **] (https://github.com/InderKumarRathore/MLog) –