diff --git a/activation/poet.go b/activation/poet.go index ef255a08b4..5d86d72749 100644 --- a/activation/poet.go +++ b/activation/poet.go @@ -61,19 +61,19 @@ type retryableHttpLogger struct { } func (r retryableHttpLogger) Error(format string, args ...any) { - r.inner.Sugar().With(args...).Error(format) + r.inner.Sugar().Errorw(format, args...) } func (r retryableHttpLogger) Info(format string, args ...any) { - r.inner.Sugar().With(args...).Info(format) + r.inner.Sugar().Infow(format, args...) } func (r retryableHttpLogger) Warn(format string, args ...any) { - r.inner.Sugar().With(args...).Warn(format) + r.inner.Sugar().Warnw(format, args...) } func (r retryableHttpLogger) Debug(format string, args ...any) { - r.inner.Sugar().With(args...).Debug(format) + r.inner.Sugar().Debugw(format, args...) } type PoetClientOpts func(*HTTPPoetClient)