diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-10 16:49:37 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-10 16:53:31 -0700 |
| commit | a6216dd89252fa01dc176f98f1e4ecfd3f637566 (patch) | |
| tree | 125aa765058693626207e04da5d01c37827ed036 /hotline/server_test.go | |
| parent | 5cc444c89968dda9060d4e2f458b1babb9b603cd (diff) | |
Replace zap logger with slog
Diffstat (limited to 'hotline/server_test.go')
| -rw-r--r-- | hotline/server_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/server_test.go b/hotline/server_test.go index 7e2608e..3a368e0 100644 --- a/hotline/server_test.go +++ b/hotline/server_test.go @@ -5,8 +5,8 @@ import ( "context" "fmt" "github.com/stretchr/testify/assert" - "go.uber.org/zap" "io" + "log/slog" "os" "sync" "testing" @@ -35,7 +35,7 @@ func TestServer_handleFileTransfer(t *testing.T) { fileTransfers map[[4]byte]*FileTransfer Config *Config ConfigDir string - Logger *zap.SugaredLogger + Logger *slog.Logger PrivateChats map[uint32]*PrivateChat NextGuestID *uint16 TrackerPassID [4]byte |