@inst/vscode-bin-darwin
Version:
BINARY ONLY - VSCode binary deployment for macOS
23 lines (22 loc) • 925 B
JavaScript
;
var AutoCollectConsole = (function () {
function AutoCollectConsole(client) {
if (!!AutoCollectConsole.INSTANCE) {
throw new Error("Console logging adapter tracking should be configured from the applicationInsights object");
}
this._client = client;
AutoCollectConsole.INSTANCE = this;
}
AutoCollectConsole.prototype.enable = function (isEnabled) {
// todo: investigate feasibility/utility of this; does it make sense to have a logging adapter in node?
};
AutoCollectConsole.prototype.isInitialized = function () {
return this._isInitialized;
};
AutoCollectConsole.prototype.dispose = function () {
AutoCollectConsole.INSTANCE = null;
};
return AutoCollectConsole;
}());
AutoCollectConsole._methodNames = ["debug", "info", "log", "warn", "error"];
module.exports = AutoCollectConsole;