mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2026-07-18 04:55:19 +00:00
gomodule is still in progress to migrate for now, hence multus team decide to keep vendor directory to support build without gomodule.
13 lines
301 B
Go
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) |