Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | package concurrent |
2 | |||||
3 | import ( | ||||
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 | ||||
10 | var ErrorLogger = log.New(os.Stderr, "", 0) | ||||
11 | |||||
12 | // InfoLogger is used to print informational message, default to off | ||||
13 | var InfoLogger = log.New(ioutil.Discard, "", 0) |