"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProxyCommandBase = void 0;
class ProxyCommandBase {
    constructor($analyticsService, $logger, $proxyService, commandName) {
        this.$analyticsService = $analyticsService;
        this.$logger = $logger;
        this.$proxyService = $proxyService;
        this.commandName = commandName;
        this.disableAnalytics = true;
        this.allowedParameters = [];
    }
    async tryTrackUsage() {
        try {
            this.$logger.trace(this.commandName);
        }
        catch (ex) {
            this.$logger.trace("Error in trying to track proxy command usage:");
            this.$logger.trace(ex);
        }
    }
}
exports.ProxyCommandBase = ProxyCommandBase;
