next
Version:
The React Framework
8 lines (7 loc) • 673 B
TypeScript
import type { NodeNextRequest, NodeNextResponse } from '../base-http/node';
import type { LoggingConfig } from '../config-shared';
/**
* Returns true if the incoming request should be ignored for logging.
*/
export declare function ignoreLoggingIncomingRequests(request: NodeNextRequest, loggingConfig: LoggingConfig | undefined): boolean;
export declare function logRequests(request: NodeNextRequest, response: NodeNextResponse, loggingConfig: LoggingConfig, requestStartTime: bigint, requestEndTime: bigint, devRequestTimingMiddlewareStart: bigint | undefined, devRequestTimingMiddlewareEnd: bigint | undefined, devRequestTimingInternalsEnd: bigint | undefined): void;