Comparing version 1.1.10 to 1.1.11
@@ -107,3 +107,3 @@ "use strict"; | ||
(0, error_1.requestError)(res, err, logger); | ||
logger.info(`from ${req.ip} ${req.method} ${req.url} cost ${Date.now() - timeBegin}ms`); | ||
logger.error(`from ${req.ip} ${req.method} ${req.url} cost ${Date.now() - timeBegin}ms`); | ||
} | ||
@@ -110,0 +110,0 @@ }).catch(err => { |
@@ -86,5 +86,5 @@ "use strict"; | ||
info += `${Date.now() - this.begin}ms`; | ||
this.logger.info(i + info); | ||
this.logger.debug(i + info); | ||
} | ||
} | ||
exports.default = Response; |
{ | ||
"name": "vweb-mvc", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "mvc ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
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
59441