yii\log\Dispatcher::getLogger PHP Méthode

getLogger() public méthode

If not set, [[\Yii::getLogger()]] will be used.
public getLogger ( ) : Logger
Résultat Logger the logger.
    public function getLogger()
    {
        if ($this->_logger === null) {
            $this->setLogger(Yii::getLogger());
        }
        return $this->_logger;
    }