From cdd90c38c6e3718c731b555b9c3ed1becebec3ba Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Tue, 31 Mar 2015 11:30:41 -0400 Subject: [PATCH] readme: fix comment on context logger --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be46da2..d55f909 100644 --- a/README.md +++ b/README.md @@ -109,8 +109,8 @@ func main() { "number": 100, }).Fatal("The ice breaks!") - # A common pattern is to re-use fields between logging statements by re-using - # the logrus.Entry returned from WithFields() + // A common pattern is to re-use fields between logging statements by re-using + // the logrus.Entry returned from WithFields() contextLogger := log.WithFields(log.Fields{ "common": "this is a common field", "other": "I also should be logged always",