def METHOD_NAME(self, event):
    if not self.DEBUG and (
        event["log_namespace"] != self.log.namespace
        or self.log_level > event["log_level"]
    ):
        return
    msg = formatEvent(event)
    click.echo(
        "%s [%s] %s"
        % (
            datetime.fromtimestamp(event["log_time"]).strftime("%Y-%m-%d %H:%M:%S"),
            event["log_level"].name,
            msg,
        )
    )