Logger: replace events iterator with new API

Signed-off-by: Eduardo Silva <eduardo@monkey.io>