Improved logging and metrics. #227

Merged
telackey merged 11 commits from telackey/logging into v4 2023-01-21 01:39:26 +00:00
Showing only changes of commit 0324ce8602 - Show all commits

View File

@ -43,7 +43,7 @@ const TraceLevel = logrus.TraceLevel
type Entry = logrus.Entry
func FieldsFromContext(ctx context.Context) *logrus.Entry {
entry := logrus.FieldsFromContext(ctx)
entry := logrus.WithContext(ctx)
for _, key := range registeredKeys {
if value := ctx.Value(key); value != nil {