Socket
Socket
Sign inDemoInstall

egg-logger

Package Overview
Dependencies
6
Maintainers
13
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.1 to 3.4.2

7

lib/utils.js

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

consoleFormatter(meta) {
let msg = meta.date + ' ' + meta.level + ' ' + meta.pid + ' ' + meta.message;
let paddingMessage = ' ';
// try to use the exists paddingMessage first
if (meta.paddingMessage) {
paddingMessage = ` ${meta.paddingMessage} `;
}
let msg = meta.date + ' ' + meta.level + ' ' + meta.pid + paddingMessage + meta.message;
if (!chalk.supportsColor) {

@@ -78,0 +83,0 @@ return msg;

2

package.json
{
"name": "egg-logger",
"version": "3.4.1",
"version": "3.4.2",
"description": "egg logger",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc