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