export type Log = string | Record; export type LogEntry = Log | Log[]; export type Logger = { commit: () => void; debug: (...args: Array L)>) => void; enable: () => void; }; export type LoggerNoCommit = Omit; export declare const createDebugLogger: (name: string, formatter: (val: LogEntry) => string) => () => Logger; type WithLogger = any>(loggerFactoryOrName: string | (() => L), handlerCtor: (logger: LoggerNoCommit) => H) => H; export declare const withLogger: WithLogger; export {}; //# sourceMappingURL=debugLogger.d.ts.map