mirror of
https://github.com/docker/docs.git
synced 2026-03-31 00:08:55 +07:00
15 lines
184 B
Go
15 lines
184 B
Go
package main
|
|
|
|
import (
|
|
log "github.com/Sirupsen/logrus"
|
|
"io"
|
|
)
|
|
|
|
func setLogLevel(lvl log.Level) {
|
|
log.SetLevel(lvl)
|
|
}
|
|
|
|
func initLogging(stderr io.Writer) {
|
|
log.SetOutput(stderr)
|
|
}
|