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

@abtnode/logger

Package Overview
Dependencies
Maintainers
3
Versions
738
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abtnode/logger - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17-alpha.23

3

lib/logger.js

@@ -68,3 +68,2 @@ const fs = require('fs-extra');

const logger = createLogger({
level: process.env.ABT_NODE_LOG_LEVEL || 'info',
format: format.combine(

@@ -80,2 +79,3 @@ format.timestamp({ format: 'YYYY-MM-DD HH:mm:ss' }),

if (process.env.NODE_ENV === 'production') {
logger.level = process.env.ABT_NODE_LOG_LEVEL || 'info';
if (!fs.existsSync(baseDirectory)) {

@@ -117,2 +117,3 @@ fs.mkdirSync(baseDirectory, { recursive: true });

} else {
logger.level = process.env.ABT_NODE_LOG_LEVEL || 'debug';
const transport = new transports.Console();

@@ -119,0 +120,0 @@

{
"name": "@abtnode/logger",
"version": "1.0.16",
"version": "1.0.17-alpha.23+742d667b",
"description": "ABT Node logger lib",

@@ -46,3 +46,3 @@ "keywords": [

},
"gitHead": "e211a00e13e0e7b2e7ffd75b9e3864bdc79c90ac"
"gitHead": "742d667b2cebe9c74c39e0f6586ef4be09ed8b6b"
}
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