Migrate to slog #721
Annotations
10 errors
Run integration tests:
cmd/metal-api/internal/eventbus/nsq.go#L51
cannot use n.logger (variable of type *slog.Logger) as *zap.Logger value in argument to bus.NewConsumer
|
Run integration tests:
cmd/metal-api/internal/grpc/grpc-server.go#L76
log.Desugar undefined (type *slog.Logger has no field or method Desugar)
|
Run integration tests:
cmd/metal-api/internal/grpc/grpc-server.go#L97
log.Named undefined (type *slog.Logger has no field or method Named)
|
Run integration tests:
cmd/metal-api/internal/grpc/grpc-server.go#L98
log.Named undefined (type *slog.Logger has no field or method Named)
|
Run integration tests:
cmd/metal-api/internal/grpc/grpc-server.go#L106
log.Desugar undefined (type *slog.Logger has no field or method Desugar)
|
Run integration tests:
cmd/metal-api/internal/grpc/grpc-server.go#L113
log.Desugar undefined (type *slog.Logger has no field or method Desugar)
|
Run integration tests:
cmd/metal-api/internal/service/service.go#L37
cannot use w.log (variable of type *"log/slog".Logger) as *zap.SugaredLogger value in argument to rest.GetLoggerFromContext
|
Run integration tests:
cmd/metal-api/internal/service/service.go#L38
cannot use requestLogger.WithOptions(zap.AddCallerSkip(1)) (value of type *zap.SugaredLogger) as *"log/slog".Logger value in return statement
|
Run integration tests:
cmd/metal-api/internal/service/service.go#L210
cannot use e.logger (variable of type *"log/slog".Logger) as *zap.SugaredLogger value in argument to rest.GetLoggerFromContext
|
Run integration tests:
cmd/metal-api/internal/service/service.go#L213
cannot use requestLogger (variable of type *zap.SugaredLogger) as *"log/slog".Logger value in argument to send
|
The logs for this run have expired and are no longer available.
Loading