config.js 210 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
import Reactotron from 'reactotron-react-native'

console.tron = { log: Function.prototype };

if (__DEV__) {
  Reactotron
    .configure()
    .useReactNative()
    .connect();

  console.tron = Reactotron;
}