diff --git a/core/logx/tracelog.go b/core/logx/tracelog.go index cbd3b13a..f5309d6e 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{}) {