Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bunyan-logger

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-logger - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

25

History.md
0.1.1 / 2017-03-15
==================
* Allow the stream options explicitly set with `stream.options`, for the predefined streams.
0.1.0 / 2017-02-08
==================
* Release 0.1.0
* Updated readme. Added example.
* Refactored the class to be extended from the Bunyan one, and splited the streams into files for easier extending.
* Refactored the most basic files.
0.0.3 / 2016-10-13
==================
* update JOI version to 9.1.1
* change bunyan-syslog version to support node v6
* add transaction template
* Fix on readme
* Improve readme
* update CI config
* fix when file path do not exits
* add travis.yml for auto-testing
* update README
* change to use originalUrl for http logs
* delete .idea file
* update README and package.json
* impl log level and template
* add log feature
* Initial commit

2

lib/index.js

@@ -49,3 +49,3 @@ 'use strict';

if (typeof stream === 'object' && typeof stream.name === 'string') {
return super.addStream(this.predefinedStream(stream.name, stream), defaultLevel);
return super.addStream(this.predefinedStream(stream.name, stream.options || stream), defaultLevel);
}

@@ -52,0 +52,0 @@ return super.addStream(stream, defaultLevel);

{
"name": "bunyan-logger",
"version": "0.1.0",
"version": "0.1.1",
"description": "Extend Bunyan to have default options and predefined streams etc.",

@@ -5,0 +5,0 @@ "main": "index.js",

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