readme: fix comment on context logger

This commit is contained in:
Simon Eskildsen 2015-03-31 11:30:41 -04:00
parent 7586a697f6
commit cdd90c38c6
1 changed files with 2 additions and 2 deletions

View File

@ -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",