Iterator yielding all logevents from groups dictionary.

def logevents(self):
        """Iterator yielding all logevents from groups dictionary."""
        for key in self.groups:
            for logevent in self.groups[key]:
                yield logevent