I wanted an easier way to format debug data for Reactotron that would render more easily, so I came up with this code snippet:
if (__DEV__) {
console.tlog = (name, mainVal, ...otherVals) => {
let vars = {_name: name, ...otherVals}
if (typeof mainVal === 'object') {
vars = {...vars, ...mainVal}
} else {
vars['_mainVal'] = mainVal