src/Mmi/Log/LoggerHelper.php
public static function getLevel()
    {
        if (!self::$_config) {
            throw new LoggerException('Configuration not loaded');
        }
        $minLevel = Logger::EMERGENCY;
        //iteracja po configach
        foreach (self::$_config as $config) {
            if ($config->getLevel() < $minLevel) {
                $minLevel = $config->getLevel();
            }
        }
        return $minLevel;
    }
public static function getLevel()
    {
        if (!self::$_config) {
            throw new LoggerException('Configuration not loaded');
        }
        $minLevel = Logger::EMERGENCY;
        //iteracja po configach
        foreach (self::$_config as $config) {
            if ($config->getLevel() < $minLevel) {
                $minLevel = $config->getLevel();
            }
        }
        return $minLevel;
    }
public static function getLevel ( ) { if ( ! self :: $ _config ) { throw new LoggerException ( 'Configuration not loaded' ) ; } $ minLevel = Logger :: EMERGENCY ; //iteracja po configach foreach ( self :: $ _config as $ config ) { if ( $ config -> getLevel ( ) < $ minLevel ) { $ minLevel = $ config -> getLevel ( ) ; } } return $ minLevel ; }
Zwraca poziom logowania
@return integer
Zwraca poziom logowania