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

bunlogger

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunlogger - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

lib/logger.js

@@ -8,2 +8,3 @@ 'use strict';

const RotateLog = require('rotatelog-stream').RotateLogStream;
const bunyanPretty = require('bunyan-pretty');

@@ -52,3 +53,7 @@ /**

if (!streams.length || opt.dev === true) {
streams.push({ level: 'trace', stream: process.stdout });
if (process.stdout.isTTY) {
streams.push({ level: 'trace', stream: bunyanPretty()});
} else {
streams.push({ level: 'trace', stream: process.stdout});
}
}

@@ -55,0 +60,0 @@

{
"name": "bunlogger",
"version": "2.0.0",
"description": "General logger for all my projects, a better version than mint-robot/util-logger",
"version": "2.0.1",
"description": "bunyan logger, bunyan express middleware, pretty print err for development",
"author": "Ben P.P. Tung",

@@ -15,4 +15,12 @@ "license": "MIT",

},
"keywords": [
"express",
"bunyan",
"logger",
"middleware",
"rotatelog"
],
"dependencies": {
"bunyan": "^1.8.10",
"bunyan-pretty": "0.0.1",
"colors": "^1.1.2",

@@ -19,0 +27,0 @@ "mkdirp": "^0.5.1",

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