etwlogrus: Fix event logging not including fields

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
This commit is contained in:
Kevin Parsons
2019-05-07 23:51:39 -07:00
parent fa965998be
commit ed00d9afc1
-1
View File
@@ -69,7 +69,6 @@ func (h *Hook) Fire(e *logrus.Entry) error {
names := make([]string, 0, len(e.Data))
hasError := false
for k := range e.Data {
names := make([]string, 0, len(e.Data))
if k == logrus.ErrorKey {
// Always put the error last because it is optional in some events.
hasError = true