egg-json-logger-wrapper
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16015