blob: 9756fcc75a79cb0af9b4049ed5543a3496d2b3a6 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001package 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)