log-vault
Version:
A generator of Winston logger instance with pre-defined configurable transports and formats and extra functionality.
37 lines (36 loc) • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FontStyle = exports.BgColor = exports.TextColor = void 0;
var TextColor;
(function (TextColor) {
TextColor["black"] = "black";
TextColor["red"] = "red";
TextColor["green"] = "green";
TextColor["yellow"] = "yellow";
TextColor["blue"] = "blue";
TextColor["magenta"] = "magenta";
TextColor["cyan"] = "cyan";
TextColor["white"] = "white";
TextColor["gray"] = "gray";
})(TextColor || (exports.TextColor = TextColor = {}));
var BgColor;
(function (BgColor) {
BgColor["blackBG"] = "blackBG";
BgColor["redBG"] = "redBG";
BgColor["greenBG"] = "greenBG";
BgColor["yellowBG"] = "yellowBG";
BgColor["blueBG"] = "blueBG";
BgColor["magentaBG"] = "magentaBG";
BgColor["cyanBG"] = "cyanBG";
BgColor["whiteBG"] = "whiteBG";
})(BgColor || (exports.BgColor = BgColor = {}));
var FontStyle;
(function (FontStyle) {
FontStyle["bold"] = "bold";
FontStyle["dim"] = "dim";
FontStyle["italic"] = "italic";
FontStyle["underline"] = "underline";
FontStyle["inverse"] = "inverse";
FontStyle["hidden"] = "hidden";
FontStyle["strikethrough"] = "strikethrough";
})(FontStyle || (exports.FontStyle = FontStyle = {}));