@eljs/utils
Version:
Collection of nodejs utility.
28 lines • 808 B
TypeScript
export declare const prefixes: {
event: string;
info: string;
warn: string;
error: string;
fatal: string;
wait: string;
ready: string;
};
declare class Logger {
format(label: string, message: string): string;
log(message: string, tag?: string): void;
event(message: string): void;
info(message: string): void;
warn(message: string): void;
error(message: string): void;
fatal(message: string): void;
wait(message: string): void;
ready(message: string): void;
printErrorAndExit(message: string): void;
clear(title?: string): void;
step(name: string): (message: string) => void;
step(name: string, message: string): void;
private _chalkTag;
}
export declare const logger: Logger;
export {};
//# sourceMappingURL=logger.d.ts.map