protected function callHandlers(\Plop\RecordInterface $record)
    {
        if (!count($this->handlers) && !$this->emittedWarning) {
            $stderr = $this->getStderr();
            fprintf(
                $stderr,
                'No handlers could be found for logger ("%s" in "%s")' . "\n",
                $this->cls .
                ($this->cls === null || $this->cls === '' ? '' : '::') .
                $this->method,
                $this->ns
            );
            fclose($stderr);
            $this->emittedWarning = true;
            return $this;
        }

        $this->handlers->handle($record);
        return $this;
    }