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;
    }