From cd5805716d38407a7c61cdab2d9174e870d05e5d Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Wed, 12 Mar 2014 08:00:18 -0400 Subject: [PATCH] readme: add notes on logging levels --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a19e39a..2dcc817 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,9 @@ log.Debug("Useful debugging information.") log.Info("Something noteworthy happened!") log.Warn("You should probably take a look at this.") log.Error("Something failed but I'm not quitting.") +// Calls os.Exit(1) after logging log.Fatal("Bye.") +// Calls panic() after logging log.Panic("I'm bailing.") ```