Skip to content

Commit

Permalink
Clean up redundant process control logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
edoger committed Apr 14, 2021
1 parent e4563f3 commit f44eaee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ func (c *core) getEntity(l *log, level Level, message, caller string) *logEntity
o.message = message
o.ctx = l.ctx
o.caller = caller
if !l.root {
o.fields = l.fields
}
o.fields = l.fields

return o
}
Expand Down

0 comments on commit f44eaee

Please sign in to comment.