From f7a4f6311b045c7b63b17b1e59d0e57a3485c358 Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Wed, 16 Oct 2013 15:28:25 -0400 Subject: [PATCH] Fix comments --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 29faf53..24c4aa8 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ logrus.Debug("Something debugworthy happened: %s", importantStuff") logrus.Info("Something infoworthy happened: %s", importantStuff") logrus.Warning("Something bad happened: %s", importantStuff") -# Reports to Airbrake +// Reports to Airbrake logrus.Fatal("Something fatal happened: %s", importantStuff") -# Reports to Airbrake -# Then exits +// Reports to Airbrake +// Then exits ``` Types are encouraged to include their own logging object. This allows to set a @@ -58,9 +58,9 @@ func (walrus *Walrus) Mate(partner *Walrus) error { } walrus.logger.Info("Walrus with tusk sizes %d and %d are mating!", walrus.TuskSize, partner.TuskSize) - # Generates a logging message: [Info] [Walrus] Walrus with tusk sizes and are mating! + // Generates a logging message: [Info] [Walrus] Walrus with tusk sizes and are mating! - # Walrus mating happens here + // Walrus mating happens here return nil }