mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-05 05:04:04 -08:00
21e50a3f9d
Signed-off-by: jojohappy <sarahdj0917@gmail.com>
13 lines
301 B
Go
13 lines
301 B
Go
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) |