UNPKG

wuchale

Version:

Protobuf-like i18n from normal code

21 lines 538 B
declare const colors: { red: number; green: number; yellow: number; magenta: number; cyan: number; grey: number; reset: number; }; type ColorFuncs = Record<keyof typeof colors, (msg: string | number) => string>; export declare const color: ColorFuncs; export declare class Logger { #private; constructor(showMsgs: boolean); log: (msg: string) => void; info: (msg: string) => void; warn: (msg: string) => void; error: (msg: string) => void; } export {}; //# sourceMappingURL=log.d.ts.map