"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@serverless-devs/core");
var i18n_1 = __importDefault(require("./i18n"));
var CLI_CONTENT = 'S-CLI';
var ServerlessDevsCliLogger = /** @class */ (function () {
    function ServerlessDevsCliLogger() {
    }
    ServerlessDevsCliLogger.log = function (m) {
        core_1.Logger.log(i18n_1.default.__(m) || m);
    };
    ServerlessDevsCliLogger.info = function (m) {
        core_1.Logger.info(CLI_CONTENT, i18n_1.default.__(m) || m);
    };
    ServerlessDevsCliLogger.debug = function (m) {
        core_1.Logger.debug(CLI_CONTENT, i18n_1.default.__(m) || m);
    };
    ServerlessDevsCliLogger.error = function (m) {
        core_1.Logger.error(CLI_CONTENT, i18n_1.default.__(m) || m);
    };
    ServerlessDevsCliLogger.warning = function (m) {
        core_1.Logger.warn(CLI_CONTENT, i18n_1.default.__(m) || m);
    };
    ServerlessDevsCliLogger.success = function (m) {
        core_1.Logger.log(i18n_1.default.__(m) || m, 'green');
    };
    ServerlessDevsCliLogger.spinner = function (info) {
        return core_1.spinner(info);
    };
    return ServerlessDevsCliLogger;
}());
exports.default = ServerlessDevsCliLogger;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL2xvZ2dlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUNBLDhDQUFzRTtBQUN0RSxnREFBMEI7QUFJMUIsSUFBTSxXQUFXLEdBQUcsT0FBTyxDQUFDO0FBRTVCO0lBQUE7SUE2QkEsQ0FBQztJQTVCVSwyQkFBRyxHQUFWLFVBQVcsQ0FBQztRQUNSLGFBQU0sQ0FBQyxHQUFHLENBQUMsY0FBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsSU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