@implementer(ILogObserver)
def observer(event: LogEvent) -> None:
    if ((event['log_namespace'] == jsonLog.namespace) and ('record' in event)):
        self.errorEvents.append(event)
@implementer(ILogObserver)
def observer(event: LogEvent) -> None:
    if ((event['log_namespace'] == jsonLog.namespace) and ('record' in event)):
        self.errorEvents.append(event)