@join-com/gcloud-express-logger
Advanced tools
Comparing version 0.1.6 to 0.1.7
import { Logger } from '@join-com/gcloud-logger'; | ||
import { NextFunction, Request, Response } from 'express'; | ||
export declare const requestLogger: (logger?: Logger, startTrace?: ((req: Request<import("express-serve-static-core").ParamsDictionary>) => void) | undefined) => (req: Request<import("express-serve-static-core").ParamsDictionary>, res: Response, next: NextFunction) => void; | ||
export declare const requestLogger: (logger?: Logger, startTrace?: ((req: Request) => void) | undefined) => (req: Request, res: Response, next: NextFunction) => void; | ||
export { NextFunction, Request, Response } from 'express'; | ||
export default requestLogger; |
@@ -17,2 +17,3 @@ "use strict"; | ||
latency: `${ms.toFixed(3)}ms`, | ||
path: req.route.path, | ||
}, | ||
@@ -19,0 +20,0 @@ query: req.query, |
{ | ||
"name": "@join-com/gcloud-express-logger", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "gcloud express request logger", | ||
@@ -42,4 +42,3 @@ "main": "./lib/index.js", | ||
"on-finished": "^2.3.0" | ||
}, | ||
"gitHead": "fc2389bf41df659bae381c809a40b995f58aebe5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
52
4624