From c7cb53334edbe7e567102ffc881c5c6c684a75ae Mon Sep 17 00:00:00 2001 From: Andrew Weiss Date: Wed, 31 Jan 2018 15:07:37 -0800 Subject: [PATCH] update readme docs to the new style --- README.md | 4 ++-- doc.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dcfaec2..a94cce2 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,10 @@ func main() { result, err := DoSomething() if err != nil { - rollbar.Error(rollbar.ERR, err) + rollbar.Critical(err) } - rollbar.Message("info", "Message body goes here") + rollbar.Info("Message body goes here") rollbar.Wait() } diff --git a/doc.go b/doc.go index 535058c..4b9f063 100644 --- a/doc.go +++ b/doc.go @@ -18,7 +18,7 @@ Basic Usage result, err := DoSomething() if err != nil { - rollbar.Error(err) + rollbar.Critical(err) } rollbar.Info("Message body goes here")