matterbridge/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go

17 lines
188 B
Go
Raw Normal View History

2017-03-25 19:45:10 +00:00
package gobrake
import (
"log"
"os"
)
var logger *log.Logger
func init() {
SetLogger(log.New(os.Stderr, "gobrake: ", log.LstdFlags))
}
func SetLogger(l *log.Logger) {
logger = l
}