var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.taskRnvLog=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _platformManager=require("../core/platformManager");
var _logger=require("../core/systemManager/logger");
var _constants=require("../core/constants");






var _sdkXcode=require("../sdk-xcode");
var _sdkAndroid=require("../sdk-android");

var taskRnvLog=function taskRnvLog(c,parentTask){return _regenerator.default.async(function taskRnvLog$(_context){while(1){switch(_context.prev=_context.next){case 0:
(0,_logger.logTask)('taskRnvLog',"parent:"+parentTask);_context.t0=
c.platform;_context.next=_context.t0===
_constants.ANDROID?4:_context.t0===
_constants.ANDROID_TV?4:_context.t0===
_constants.ANDROID_WEAR?4:_context.t0===

_constants.IOS?5:_context.t0===
_constants.TVOS?5:6;break;case 4:return _context.abrupt("return",(0,_sdkAndroid.runAndroidLog)(c));case 5:return _context.abrupt("return",
(0,_sdkXcode.runAppleLog)(c));case 6:return _context.abrupt("return",

(0,_platformManager.logErrorPlatform)(c));case 7:case"end":return _context.stop();}}},null,null,null,Promise);};exports.taskRnvLog=taskRnvLog;var _default=



{
description:'Attach logger to device or emulator and print out logs',
fn:taskRnvLog,
task:'log',
params:[],
platforms:[],
skipProjectSetup:true};exports.default=_default;
//# sourceMappingURL=task.rnv.log.js.map