UNPKG

prism-logger

Version:

beautified logging in nodejs

27 lines (26 loc) 971 B
import { text } from "../interface/options.interface"; export declare class PrismLogger { constructor(); static log(text: text, color?: string): void; static error(text: text): void; static success(text: text): void; static warning(text: text): void; static red(text: text): void; static green(text: text): void; static yellow(text: text): void; static blue(text: text): void; static magenta(text: text): void; static cyan(text: text): void; static white(text: text): void; static logBg(text: text, font?: string, bg?: string): void; static errorBg(text: text): void; static successBg(text: text): void; static warningBg(text: text): void; static redBg(text: text): void; static greenBg(text: text): void; static yellowBg(text: text): void; static blueBg(text: text): void; static magentaBg(text: text): void; static cyanBg(text: text): void; static whiteBg(text: text): void; }