nestjs-context-winston
Version:
Contextual Logger for nestjs apps using AsyncLocalStorage and winston
10 lines (9 loc) • 380 B
TypeScript
import { HttpRequest } from './context-logging-options';
export declare const BASIC_HTTP_ENRICH_EXCLUSION: readonly string[];
export declare const HTTP_PRIVACY_HEADERS: readonly string[];
export declare function httpEnrichHelper(excludeFields?: readonly string[]): (req: HttpRequest) => {
request: {
headers: Record<string, unknown>;
method: string;
};
};