express-light-logger
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -13,3 +13,7 @@ module.exports = function() { | ||
stream.write('\nResponse sent in ' + duration.toFixed(3) + ' milliseconds \n'); | ||
var method = req.method; | ||
var url = req.url; | ||
stream.write('\nRequest ' + method + ' to "' + url + '"\nprocessed in ' + | ||
duration.toFixed(3) + ' milliseconds \n'); | ||
}); | ||
@@ -16,0 +20,0 @@ |
{ | ||
"name": "express-light-logger", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Express middleware which logs requests to stdout", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,4 +5,8 @@ # Express Light Logger | ||
Usage: | ||
## Installation | ||
`npm install express-light-logger` | ||
## Example | ||
```javascript | ||
@@ -9,0 +13,0 @@ var express = require('express'); |
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
1647
16
36