Closed zstone12 closed 2 years ago
I think remove the param or use it cfg.traceHookConfig.recordStackTraceInSpan = recordStackTraceInSpan
I think remove the param or use it
cfg.traceHookConfig.recordStackTraceInSpan = recordStackTraceInSpan
Thanks for the reminder, there is indeed a problem, thanks for your PR
logging/logrus/option.go
func WithRecordStackTraceInSpan(recordStackTraceInSpan bool) Option { return option(func(cfg *config) { cfg.traceHookConfig.recordStackTraceInSpan = true }) }