ft_transcendence/pong/node_modules/tsconfig-paths-webpack-plugin/lib/logger.d.ts
2023-05-02 19:15:50 +02:00

11 lines
333 B
TypeScript

import { Options } from "./options";
import { Chalk } from "chalk";
export declare type LoggerFunc = (message: string) => void;
export interface Logger {
log: LoggerFunc;
logInfo: LoggerFunc;
logWarning: LoggerFunc;
logError: LoggerFunc;
}
export declare function makeLogger(options: Options, colors: Chalk): Logger;