airbridge-react-native-sdk
Version:
Airbridge SDK for React Native
12 lines (11 loc) • 336 B
JavaScript
import { Platform } from 'react-native'
import NativeLog from "react-native-native-log";
export const qaLog = (message) => {
if (Platform.OS === 'ios') {
NativeLog.logWithTag('AirbridgeQA', message)
} else if (Platform.OS === 'android') {
NativeLog.logWithTag('Airbridge', message)
} else {
console.log(message)
}
}