mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
[ReactNative] Pipe logs to server window
This commit is contained in:
parent
f5f80da80c
commit
7cd732d0e7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user