revert slight added complexity in NewEntry()

This commit is contained in:
Dave Clendenan 2016-11-30 11:36:48 -08:00
parent 05a8f4db95
commit 4575b7a64d
1 changed files with 1 additions and 3 deletions

View File

@ -56,13 +56,11 @@ type Entry struct {
} }
func NewEntry(logger *Logger) *Entry { func NewEntry(logger *Logger) *Entry {
entry := &Entry{ return &Entry{
Logger: logger, Logger: logger,
// Default is three fields, plus one optional. Give a little extra room. // Default is three fields, plus one optional. Give a little extra room.
Data: make(Fields, 6), Data: make(Fields, 6),
} }
return entry
} }
// Returns the string representation from the reader and ultimately the // Returns the string representation from the reader and ultimately the