public function addNotifier(Notifier $notifier, bool $setLogger = true)
    {
        if ($notifier instanceof self) {
            throw new LogicException('Cannot add self');
        }

        if ($setLogger) {
            $notifier->setLogger($this->getLogger());
        }
        $this->notifiers[] = $notifier;
    }