mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-21 10:32:35 +01:00
17 lines
188 B
Go
17 lines
188 B
Go
|
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
|
||
|
}
|