(iOS) Comment out debug filelogging by default

This commit is contained in:
twinaphex 2013-05-16 13:44:32 +02:00
parent 7113a3c61e
commit 4c92d8a3ed

View File

@ -40,7 +40,7 @@
#define GSEVENT_MOD_ALT (1 << 19)
#define GSEVENT_MOD_CTRL (1 << 20)
#define HAVE_DEBUG_FILELOG
//#define HAVE_DEBUG_FILELOG
static ios_input_data_t g_input_data;
@ -150,7 +150,7 @@ int main(int argc, char *argv[])
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *logPath = [documentsDirectory stringByAppendingPathComponent:@"console_stdout.log"];
freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding], "a", stdout);
//freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding], "a", stderr);
freopen([logPath cStringUsingEncoding:NSASCIIStringEncoding], "a", stderr);
#endif
#endif
@autoreleasepool {