prateekpandey14 9e60b2f3c8 Add vendor dependencies
Signed-off-by: prateekpandey14 <prateekpandey14@gmail.com>
2019-02-07 14:49:15 +05:30

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)