@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.
12 lines • 351 B
TypeScript
import { ILogger } from '@villedemontreal/logger';
/**
* Creates a Logger.
*/
export declare function createLogger(name: string): ILogger;
/**
* A Logger that uses a dummy cid provider.
*
* Only use this when running the tests!
*/
export declare function getTestingLoggerCreator(): (name: string) => ILogger;
//# sourceMappingURL=logger.d.ts.map