UNPKG

469 BTypeScriptView Raw
1import { Chalk } from 'chalk';
2import { LoaderOptions } from './interfaces';
3declare type LoggerFunc = (message: string) => void;
4export interface Logger {
5 log: LoggerFunc;
6 logInfo: LoggerFunc;
7 logWarning: LoggerFunc;
8 logError: LoggerFunc;
9}
10export declare enum LogLevel {
11 INFO = 1,
12 WARN = 2,
13 ERROR = 3
14}
15export declare function makeLogger(loaderOptions: LoaderOptions, colors: Chalk): Logger;
16export {};
17//# sourceMappingURL=logger.d.ts.map
\No newline at end of file