Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode, React Native and redux logger: [TOO BIG formatValueCalls XXX exceeded limit of 200]

When running React Native, without debug js remotely, Xcode shows a lot of logs saying:

[TOO BIG formatValueCalls XXX exceeded limit of 200] 

The logs seem to appear in redux logger entries.

The errors are thrown by React Native, from a file called console.js in node_modules/react-native/Libraries/polyfills/console.js

Should this be preoccupying? I couldn't find anything related to this on the internet.

like image 466
Anita Avatar asked Mar 02 '23 19:03

Anita


1 Answers

OK, those messages come from the console.js module in React Native. This module pipes console.log to NSLog on iOS. I am logging out some biiiig objects (which I need to fix), and this module is clipping them (rightly so). So look for places in your code where you're doing something similar.

like image 87
Mitch Kahn Avatar answered Mar 05 '23 15:03

Mitch Kahn