This commit is contained in:
2022-06-20 08:57:47 +08:00
parent 255ba740d6
commit 9c57616874
940 changed files with 398273 additions and 0 deletions

View File

@@ -0,0 +1,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)