UNPKG

ah-resque-ui

Version:

A resque administration website for actionhero

23 lines (22 loc) 740 B
import * as winston from "winston"; import { ActionheroConfigInterface } from "actionhero"; declare const namespace = "logger"; declare module "actionhero" { interface ActionheroConfigInterface { [namespace]: ReturnType<typeof DEFAULT[typeof namespace]>; } } declare type ActionheroConfigLoggerBuilderArray = Array<(config: any) => winston.Logger>; export declare const DEFAULT: { logger: (config: ActionheroConfigInterface) => { loggers: ActionheroConfigLoggerBuilderArray; maxLogStringLength: number; maxLogArrayLength: number; }; }; export declare const test: { logger: (config: ActionheroConfigInterface) => { loggers: ActionheroConfigLoggerBuilderArray; }; }; export {};