ceph-csi/api/vendor/github.com/modern-go/concurrent/log.go
Niels de Vos ce603fb47e rebase: update to latest github.com/openshift/api version
Also vendor all dependencies.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-01-22 07:16:53 +00: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)