@appium/base-driver
Version:
Base driver class for Appium drivers
13 lines • 562 B
TypeScript
import '@colors/colors';
import type { RequestHandler } from 'express';
/**
* Morgan middleware that logs when the HTTP response finishes.
* Logs method, URL, status (color-coded), response time, and content-length.
*/
export declare const endLogFormatter: RequestHandler;
/**
* Morgan middleware that logs when the HTTP request is received (immediate).
* Logs method and URL; request body is truncated and passed through {@link logger.markSensitive}.
*/
export declare const startLogFormatter: RequestHandler;
//# sourceMappingURL=express-logging.d.ts.map