log: use stderr instead of stdout. (#1402)

This commit is contained in:
Ludovic Fernandez 2021-05-14 17:51:05 +02:00 committed by GitHub
parent c53c3d08db
commit 687214942e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ import (
)
// Logger is an optional custom logger.
var Logger StdLogger = log.New(os.Stdout, "", log.LstdFlags)
var Logger StdLogger = log.New(os.Stderr, "", log.LstdFlags)
// StdLogger interface for Standard Logger.
type StdLogger interface {