1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-21 23:06:56 +02:00

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 {