amis-rpc-design/node_modules/ts-loader/dist/logger.d.ts
2023-10-07 19:42:30 +08:00

17 lines
461 B
TypeScript

import { Chalk } from 'chalk';
import { LoaderOptions } from './interfaces';
type LoggerFunc = (message: string) => void;
export interface Logger {
log: LoggerFunc;
logInfo: LoggerFunc;
logWarning: LoggerFunc;
logError: LoggerFunc;
}
export declare enum LogLevel {
INFO = 1,
WARN = 2,
ERROR = 3
}
export declare function makeLogger(loaderOptions: LoaderOptions, colors: Chalk): Logger;
export {};
//# sourceMappingURL=logger.d.ts.map