-
Notifications
You must be signed in to change notification settings - Fork 965
Open
Description
console.log capturing starts not immediatelly when no problems with Reactotron.log
In the next example console log 1 will not be printed in the Reactotron app when no problems with reactotron log 1.
Reactotron.configure({
name: 'app',
})
.useReactNative()
.connect();
console.log('console log 1');
Reactotron.log('reactotron log 1');
setTimeout(() => {
console.log('console log 2');
Reactotron.log('reactotron log 2');
}, 1);
Repro here if need: https://github.com/Bardiamist/diff/tree/reactotron
Previously I used:
console.log = (...args) => {
console.log(...args);
Reactotron.log?.(...args);
};
Now it leads to double logs. Maybe you need to implement some override like this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels