summaryrefslogtreecommitdiff
path: root/logging.go
diff options
context:
space:
mode:
Diffstat (limited to 'logging.go')
-rw-r--r--logging.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/logging.go b/logging.go
index 7837145..129aec4 100644
--- a/logging.go
+++ b/logging.go
@@ -18,7 +18,6 @@ import (
"encoding/json"
"fmt"
"io"
- "io/ioutil"
"log"
"os"
"strings"
@@ -630,9 +629,9 @@ func (StderrWriter) OpenWriter() (io.WriteCloser, error) {
return notClosable{os.Stderr}, nil
}
-// OpenWriter returns ioutil.Discard that can't be closed.
+// OpenWriter returns io.Discard that can't be closed.
func (DiscardWriter) OpenWriter() (io.WriteCloser, error) {
- return notClosable{ioutil.Discard}, nil
+ return notClosable{io.Discard}, nil
}
// notClosable is an io.WriteCloser that can't be closed.