Socket
Socket
Sign inDemoInstall

egg-json-logger-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-json-logger-wrapper - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

app/extend/context.js

@@ -8,6 +8,6 @@ 'use strict';

get meta() {
this[REQID] = this[REQID] || uuidv4()
this[REQID] = this["mx_trace_id"] || uuidv4()
return {
trace_id: this[REQID],
user_id: this?.userInfo?.userId || '',
user_id: this?.userInfo?.userId || 'anonymous',
duration: this.starttime ? Date.now() - this.starttime : 0

@@ -14,0 +14,0 @@ }

{
"name": "egg-json-logger-wrapper",
"version": "1.0.0",
"version": "1.0.1",
"description": "JSON 化输出logger, 使用 阿里云日志服务 => LogStore => 采集日志 => 文本格式日志 => JSON模式",

@@ -5,0 +5,0 @@ "eggPlugin": {

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