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;
    }
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;
    }
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 ; }
Call every handler associated with this logger
in turn, passing them a log record to handle.

\param Plop::RecordInterface $record
The log record to handle.

\retval Plop::LoggerInterface
The logger instance (ie. \a $this).
Call every handler associated with this logger in turn passing them a log record to handle .