UNPKG

fock-logger

Version:

Simple logger for your pet-project

57 lines (56 loc) 1.94 kB
"use strict"; /** * @enum Colors * * @reset reseting style * @bold highlighted in bold * @italic italic style * @underline underline style * @reversed reverse colors * * @simple changing text color * @bright more bright color simple colors * @bg changing background color */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Colors = void 0; var Colors; (function (Colors) { Colors["reset"] = "\u001B[0m"; Colors["bold"] = "\u001B[1m"; Colors["italic"] = "\u001B[3m"; Colors["underline"] = "\u001B[4m"; Colors["reversed"] = "\u001B[7m"; Colors["black"] = "\u001B[30m"; Colors["blue"] = "\u001B[34m"; Colors["cyan"] = "\u001B[36m"; Colors["green"] = "\u001B[32m"; Colors["magenta"] = "\u001B[35m"; Colors["red"] = "\u001B[31m"; Colors["yellow"] = "\u001B[33m"; Colors["white"] = "\u001B[0m"; Colors["brightBlack"] = "\u001B[30;1m"; Colors["brightBlue"] = "\u001B[34;1m"; Colors["brightGreen"] = "\u001B[32;1m"; Colors["brightMagenta"] = "\u001B[35;1m"; Colors["brightRed"] = "\u001B[31;1m"; Colors["brightCyan"] = "\u001B[37m"; Colors["brightWhite"] = "\u001B[37;1m"; Colors["brightYellow"] = "\u001B[33;1m"; Colors["bgBlack"] = "\u001B[40m"; Colors["bgBlue"] = "\u001B[44m"; Colors["bgCyan"] = "\u001B[46m"; Colors["bgGreen"] = "\u001B[42m"; Colors["bgMagenta"] = "\u001B[45m"; Colors["bgRed"] = "\u001B[41m"; Colors["bgWhite"] = "\u001B[47m"; Colors["bgYellow"] = "\u001B[43m"; Colors["bgBrightBlack"] = "\u001B[40;1m"; Colors["bgBrightBlue"] = "\u001B[44;1m"; Colors["bgBrightCyan"] = "\u001B[46;1m"; Colors["bgBrightGreen"] = "\u001B[42;1m"; Colors["bgBrightMagenta"] = "\u001B[45;1m"; Colors["bgBrightRed"] = "\u001B[41;1m"; Colors["bgBrightWhite"] = "\u001B[47;1m"; Colors["bgBrightYellow"] = "\u001B[43;1m"; })(Colors || (exports.Colors = Colors = {}));