UNPKG

@villedemontreal/correlation-id

Version:

Express middleware to set a correlation in Express. The correlation id will be consistent across async calls within the handling of a request.

17 lines 432 B
import { ILogger } from '@villedemontreal/logger'; /** * Http Client Config */ export declare class Configs { private loggerCreatorVar; /** * Sets the Logger creator. */ setLoggerCreator(loggerCreator: (name: string) => ILogger): void; /** * The Logger creator */ get loggerCreator(): (name: string) => ILogger; } export declare const configs: Configs; //# sourceMappingURL=configs.d.ts.map