summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-03-25 20:45:10 +0100
committerWim <wim@42.be>2017-03-25 20:45:10 +0100
commit07fd825349e8b7e86f8afb3843cb8e2c2afc7c74 (patch)
treeea4b33872a5b925fa0ecd2b421f8f073ba22b2cc /vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go
parentbe15cc8a36ed3c207251f9b92815781f2fa8618d (diff)
downloadmatterbridge-msglm-07fd825349e8b7e86f8afb3843cb8e2c2afc7c74.tar.gz
matterbridge-msglm-07fd825349e8b7e86f8afb3843cb8e2c2afc7c74.tar.bz2
matterbridge-msglm-07fd825349e8b7e86f8afb3843cb8e2c2afc7c74.zip
Update vendor
Diffstat (limited to 'vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go')
-rw-r--r--vendor/gopkg.in/airbrake/gobrake.v2/gobrake.go16
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
+}