New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-bunyan-logger

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-bunyan-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

index.js
var bunyan = require('bunyan'),
useragent = require('useragent')
;
useragent = require('useragent');

@@ -5,0 +4,0 @@

{
"name": "express-bunyan-logger",
"version": "0.0.1",
"version": "0.0.2",
"description": "a bunyan logger middleware for express",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/villadora/exporess-buyan-logger.git"
"url": "https://github.com/villadora/express-bunyan-logger.git"
},

@@ -14,0 +14,0 @@ "keywords": [

@@ -11,3 +11,2 @@ # Express-bunyan-logger

npm install express-bunyan-logger

@@ -18,11 +17,11 @@ ## Usage

app.courier(require('express-bunyan-logger')());
app.use(require('express-bunyan-logger')());
To use the errorLogger:
app.courier(require('express-bunyan-logger').errorLogger());
app.use(require('express-bunyan-logger').errorLogger());
And you can also pass bunyan logger options to the logger middleware:
app.courier(require('express-bunyan-logger')({name: 'logger', streams : [ {level :'info', stream: process.stdout}]}));
app.use(require('express-bunyan-logger')({name: 'logger', streams : [ {level :'info', stream: process.stdout}]}));

@@ -45,4 +44,4 @@ ## License

must display the following acknowledgement:
This product includes software developed by the <organization>.
4. Neither the name of the <organization> nor the
This product includes software developed by the villa.gao.
4. Neither the name of the villa.gao nor the
names of its contributors may be used to endorse or promote products

@@ -49,0 +48,0 @@ derived from this software without specific prior written permission.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc