@platformos/pos-cli
Version:
Manage your platformOS application
18 lines • 626 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var hub_1 = require("@sentry/hub");
var utils_1 = require("@sentry/utils");
/**
* Internal function to create a new SDK client instance. The client is
* installed and then bound to the current scope.
*
* @param clientClass The client class to instanciate.
* @param options Options to pass to the client.
*/
function initAndBind(clientClass, options) {
if (options.debug === true) {
utils_1.logger.enable();
}
hub_1.getCurrentHub().bindClient(new clientClass(options));
}
exports.initAndBind = initAndBind;
//# sourceMappingURL=sdk.js.map