UNPKG

333 BTypeScriptView Raw
1import { Options } from "./options";
2import { Chalk } from "chalk";
3export declare type LoggerFunc = (message: string) => void;
4export interface Logger {
5 log: LoggerFunc;
6 logInfo: LoggerFunc;
7 logWarning: LoggerFunc;
8 logError: LoggerFunc;
9}
10export declare function makeLogger(options: Options, colors: Chalk): Logger;