From 3f6ca6688c44e4ccd89db3f211fa5d9bd87113aa Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Tue, 6 Jun 2017 10:23:34 -0700 Subject: [PATCH] Fix Fatal and Panic not terminating to program --- log.go | 1 + 1 file changed, 1 insertion(+) diff --git a/log.go b/log.go index 9341615..9fe6905 100644 --- a/log.go +++ b/log.go @@ -278,6 +278,7 @@ func (l Logger) newEvent(level Level, addLevelField bool, done func(string)) *Ev lvl = level } e := newEvent(l.w, lvl, enabled) + e.done = done if addLevelField { e.Str(LevelFieldName, level.String()) }