mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 17:21:11 +08:00
[ReactNative] Pipe logs to server window
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user