blob: 9756fcc75a79cb0af9b4049ed5543a3496d2b3a6 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
 | 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)
 |