json-logger-service
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -20,5 +20,5 @@ "use strict"; | ||
const method = req.method ? req.method : ''; | ||
RequestLogger.LOGGER.info(`Before request ${method} '${requestPath}'`); | ||
RequestLogger.LOGGER.info({ uri: requestPath }, `Before request ${method} '${requestPath}'`); | ||
onFinished(res, () => { | ||
RequestLogger.LOGGER.info(`After request ${method} '${requestPath}'`); | ||
RequestLogger.LOGGER.info({ uri: requestPath }, `After request ${method} '${requestPath}'`); | ||
}); | ||
@@ -25,0 +25,0 @@ next(); |
{ | ||
"name": "json-logger-service", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Nest Json LoggerService implementation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30458