This commit is contained in:
Yamozha
2021-04-02 02:24:13 +03:00
parent c23950b545
commit 7256d79e2c
31493 changed files with 3036630 additions and 0 deletions

View File

@ -0,0 +1,57 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function _logkitty() {
const data = require("logkitty");
_logkitty = function () {
return data;
};
return data;
}
function _cliTools() {
const data = require("@react-native-community/cli-tools");
_cliTools = function () {
return data;
};
return data;
}
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
async function logAndroid() {
_cliTools().logger.info('Starting logkitty');
const emitter = (0, _logkitty().logkitty)({
platform: 'android',
priority: _logkitty().AndroidPriority.VERBOSE,
filter: (0, _logkitty().makeTagsFilter)('ReactNative', 'ReactNativeJS')
});
emitter.on('entry', entry => {
_cliTools().logger.log((0, _logkitty().formatEntry)(entry));
});
emitter.on('error', error => {
_cliTools().logger.log((0, _logkitty().formatError)(error));
});
}
var _default = {
name: 'log-android',
description: 'starts logkitty',
func: logAndroid
};
exports.default = _default;
//# sourceMappingURL=index.js.map