UNPKG

prism-logger

Version:

beautified logging in nodejs

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