summaryrefslogblamecommitdiffstats
path: root/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go
blob: 23efe414144cb669d144d1f3e98404183c6e7084 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16














                                                                 
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
}