def remove_events(*evt_names):
    """ Remove events from log line stream. """
    event_names = set(evt_names)
    # Pass generator function
    def remove_events_pass(lines):
        for line in lines:
            # Filter lines by event type
            if line.evt_type not in event_names:
                yield line
    return remove_events_pass