1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-17 16:31:30 +00:00
steve/vendor/github.com/modern-go/concurrent/log.go
Darren Shepherd cc1e4e52a0 Update vendor
2020-02-21 22:19:07 -07:00

13 lines
301 B
Go

package concurrent
import (
"os"
"log"
"io/ioutil"
)
// ErrorLogger is used to print out error, can be set to writer other than stderr
var ErrorLogger = log.New(os.Stderr, "", 0)
// InfoLogger is used to print informational message, default to off
var InfoLogger = log.New(ioutil.Discard, "", 0)