Bluz\Proxy\Logger::initInstance PHP Méthode

initInstance() protected static méthode

Init instance
protected static initInstance ( ) : Logger | Bluz\Common\Nil
Résultat Bluz\Logger\Logger | Bluz\Common\Nil
    protected static function initInstance()
    {
        if (Config::getData('logger')) {
            return new Instance();
        } else {
            return new Nil();
        }
    }