verdnatura-chat/app/utils/log.js

9 lines
169 B
JavaScript

import { Answers } from 'react-native-fabric';
export default (event, error) => {
Answers.logCustom(event, error);
if (__DEV__) {
console.warn(event, error);
}
};