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

@elastic.io/bunyan-logger

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/bunyan-logger - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.idea/atlassian-ide-plugin.xml

7

lib/logger.js

@@ -5,9 +5,8 @@ 'use strict';

const appName = process.env.APP_NAME || 'app';
let level;
let defaultLevel = 'info';
if (process.env.NODE_ENV === 'test') {
level = bunyan.FATAL + 1; //turn off logging
} else {
level = process.env.LOG_LEVEL || 'info';
defaultLevel = bunyan.FATAL + 1; //turn off logging
}
const level = process.env.LOG_LEVEL || defaultLevel;

@@ -14,0 +13,0 @@ const log = bunyan.createLogger({

{
"name": "@elastic.io/bunyan-logger",
"version": "0.0.1",
"version": "0.0.2",
"description": "Logger for elastic.io platform based on Bunyan",

@@ -5,0 +5,0 @@ "main": "lib/logger.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