From 797a90ae7d5eee9b48e50a3b221577c65c28a4da Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 21 Sep 2020 22:41:14 +0800 Subject: [PATCH] remove unnecessary tag --- core/logx/tracelog.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/logx/tracelog.go b/core/logx/tracelog.go index cbd3b13a8291..f5309d6ef85e 100644 --- a/core/logx/tracelog.go +++ b/core/logx/tracelog.go @@ -10,9 +10,9 @@ import ( type tracingEntry struct { logEntry - Trace string `json:"trace,omitempty"` - Span string `json:"span,omitempty"` - ctx context.Context `json:"-"` + Trace string `json:"trace,omitempty"` + Span string `json:"span,omitempty"` + ctx context.Context } func (l tracingEntry) Error(v ...interface{}) {