protected function toErrorLog(EntityInterface $entity, $depth = 4)
    {
        return sprintf(
            '[%s] Persisting audit log failed. Data:' . PHP_EOL  . '%s',
            __CLASS__,
            Debugger::exportVar($entity, $depth)
        );
    }