reqlogs
Version:
A simple logger, which logs the request to server in form of tables, it helps to debug the connection with client and can also be used for metrics.
22 lines (21 loc) • 449 B
TypeScript
export interface Parameters {
time?: boolean;
path?: boolean;
method?: boolean;
query?: boolean;
body?: boolean;
cookies?: boolean;
hostname?: boolean;
}
export interface RequestLoggerProps {
ignore_urls: Array<string>;
parameters?: Parameters;
showLatestFirst: boolean;
}
export declare const BOOTSTRAP_CLASSES: {
GET: string;
POST: string;
PATCH: string;
PUT: string;
DELETE: string;
};