UNPKG

@kcutils/logger

Version:
15 lines 461 B
import { Chalk } from "chalk"; import * as Badge from "figures"; import { Levels } from "../../constants/levels"; export declare type BadgeFn = (badge: typeof Badge) => string; export declare type ColorFn = (color: Chalk) => Chalk; export interface LoggerType { badge: BadgeFn; color: ColorFn; label: string; level: Levels; } export declare type Types<T extends string> = { [key in T]: LoggerType; }; //# sourceMappingURL=LoggerType.d.ts.map