evalphobia / logrus_fluent

fluentd hooks for logrus
Apache License 2.0
45 stars 22 forks source link

No Entry.Message in output #1

Closed IvanRave closed 9 years ago

IvanRave commented 9 years ago
 logrus.WithFields(logrus.Fields{
    "tag": "walrus.app",
    "dscr": "description",
 }).Info("something happened")

Output:

 2015-08-20T14:56:51+03:00  walrus.app  {"dscr":"description","level":"info"}
evalphobia commented 9 years ago

@IvanRave Thanks! I add entry.Message to "message" when "tag" is set. If "tag" is not set, entry.Message set to "tag" and not "message" :sushi: