forked from mirror/logrus
fix bug in example in README
This commit is contained in:
parent
2e36101a19
commit
739afbfd4e
|
@ -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