"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const Tool = __importStar(require("./utils"));
var Console;
(function (Console) {
    function info(message, tag) {
        log(message, tag, Level.Info);
    }
    Console.info = info;
    function warn(message, tag) {
        log(message, tag, Level.Warnning);
    }
    Console.warn = warn;
    function error(message, tag) {
        log(message, tag, Level.Error);
    }
    Console.error = error;
    function log(message, tag, level = Level.Info) {
        console.log(`${Tool.now()} [RUBIK] [${level}]${tag ? ' [' + tag + ']' : ''} ${message}`);
    }
    let Level;
    (function (Level) {
        Level["Info"] = "INFO";
        Level["Warnning"] = "WARN";
        Level["Error"] = "ERRO";
    })(Level = Console.Level || (Console.Level = {}));
})(Console = exports.Console || (exports.Console = {}));
//# sourceMappingURL=console.js.map