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