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