forked from mirror/logrus
Merge pull request #71 from mpuncel/mpuncel/fix-readme
fix bug in example in README
This commit is contained in:
commit
6ebb4e7b3c
|
@ -126,7 +126,7 @@ func main() {
|
||||||
// exported logger. See Godoc.
|
// exported logger. See Godoc.
|
||||||
log.Out = os.Stderr
|
log.Out = os.Stderr
|
||||||
|
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(logrus.Fields{
|
||||||
"animal": "walrus",
|
"animal": "walrus",
|
||||||
"size": 10,
|
"size": 10,
|
||||||
}).Info("A group of walrus emerges from the ocean")
|
}).Info("A group of walrus emerges from the ocean")
|
||||||
|
|
Loading…
Reference in New Issue