@grouparoo/core
Version:
The Grouparoo Core
23 lines (22 loc) • 737 B
TypeScript
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 = ((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 {};