Skip to content

Commit

Permalink
Remove ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnsk committed Apr 3, 2024
1 parent a29c6c0 commit 6a024d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package tcap

import (
"io/ioutil"
"io"
"log"
"os"
"sync"
Expand Down Expand Up @@ -47,7 +47,7 @@ func DisableLogging() {
logMu.Lock()
defer logMu.Unlock()

logger.SetOutput(ioutil.Discard)
logger.SetOutput(io.Discard)
}

func setLogger(l *log.Logger) {
Expand Down

0 comments on commit 6a024d8

Please sign in to comment.