[ReactNative] Pipe logs to server window

This commit is contained in:
Alex Kotliarskyi committed 2015-04-10 12:09:10 -08:00
1 parent f5f80da80c
commit 7cd732d0e7
1 file changed
+1
+1
View File
@@ -55,6 +55,7 @@ RCTLogFunction RCTDefaultLogFunction = ^(
[NSDate date], [NSThread currentThread], level, fileName, lineNumber, message
);
fprintf(stderr, "%s\n", log.UTF8String);
fflush(stderr);
};
void RCTSetLogFunction(RCTLogFunction logFunction)