Skip to content

Commit

Permalink
fix: removing golog.Logger reference when creating slog logger
Browse files Browse the repository at this point in the history
  • Loading branch information
WendelHime committed Jul 2, 2024
1 parent c4c7a44 commit 2b0018f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion water/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func NewWATERListener(ctx context.Context, address, wasm string) (net.Listener,
cfg := &water.Config{
TransportModuleBin: decodedWASM,
//NetworkListener: baseListener,
OverrideLogger: slog.New(newLogHandler(&log)),
OverrideLogger: slog.New(newLogHandler(log)),
}

waterListener, err := cfg.ListenContext(ctx, "tcp", address)
Expand Down

0 comments on commit 2b0018f

Please sign in to comment.