blob: 9756fcc75a79cb0af9b4049ed5543a3496d2b3a6 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001package concurrent
2
3import (
4 "os"
5 "log"
6 "io/ioutil"
7)
8
9// ErrorLogger is used to print out error, can be set to writer other than stderr
10var ErrorLogger = log.New(os.Stderr, "", 0)
11
12// InfoLogger is used to print informational message, default to off
13var InfoLogger = log.New(ioutil.Discard, "", 0)