mirror of
https://github.com/go-acme/lego.git
synced 2024-11-21 13:25:48 +02:00
log: use stderr instead of stdout. (#1402)
This commit is contained in:
parent
c53c3d08db
commit
687214942e
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Logger is an optional custom logger.
|
// 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.
|
// StdLogger interface for Standard Logger.
|
||||||
type StdLogger interface {
|
type StdLogger interface {
|
||||||
|
Loading…
Reference in New Issue
Block a user