Skip to content

Commit

Permalink
Removed WithFields since it does NOT work as I thought it would
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasavelin committed Oct 15, 2024
1 parent 20ecdce commit 548dff7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/logging/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,6 @@ func (l *Logger) WithContext(
return &LoggerWithContext{l.Logger.Ctx(ctx)}
}

func (lw *LoggerWithContext) WithFields(
fields ...zapcore.Field,
) *LoggerWithContext {
lw.WithOptions(zap.Fields(fields...))
return lw
}

func LabelField(
key string,
value string,
Expand Down

0 comments on commit 548dff7

Please # to comment.