'Emit an event dict.
@param eventDict: an event dict
@type eventDict: dict'

def emit(self, eventDict):

    if eventDict['isError']:
        text = textFromEventDict(eventDict)
        self.stderr.write(text)
        self.stderr.flush()
