diff options
Diffstat (limited to 'vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go')
-rw-r--r-- | vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go b/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go new file mode 100644 index 00000000..23efe414 --- /dev/null +++ b/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go @@ -0,0 +1,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 +} |