Merge pull request #585 from DmitriyMV/improve-doc

Improve logrus.Entry.Level documentation
This commit is contained in:
Damien Mathieu 2017-07-17 09:50:14 +02:00 committed by GitHub
commit 5ff5dd844d
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ type Entry struct {
Time time.Time Time time.Time
// Level the log entry was logged at: Debug, Info, Warn, Error, Fatal or Panic // Level the log entry was logged at: Debug, Info, Warn, Error, Fatal or Panic
// This field will be set on entry firing and the value will be equal to the one in Logger struct field.
Level Level Level Level
// Message passed to Debug, Info, Warn, Error, Fatal or Panic // Message passed to Debug, Info, Warn, Error, Fatal or Panic