Распечатка одного уровня
@param $level
485689
private function printLevel($level)
    {
        echo Html::beginTag('ol', ['class' => 'dd-list']);

        foreach ($level as $item) {
            $this->printItem($item);
        }

        echo Html::endTag('ol');
    }
1050508
protected function verbose($message, $level)
    {
        if ($this->output->getVerbosity() >= $level) {
            $this->output->write($message);
        }
    }
561501
public static function clearLog($level = null)
    {
        foreach (self::$files as $fileName => $fileLevel) {
            if ($level === null || $level === $fileLevel) {
                $fileName = self::$path . $fileName;

                if (file_exists($fileName)) {
                    @unlink($fileName);
                }
                continue;
            }
        }

        // Restart current logger instance.
        self::$instance = null;
        self::start();
    }
728780
protected function log($message, $level = Logger::INFO)
    {
        $this->logger->log($message, $level);
    }
836297
public function add_message( $message, $level = null ) {
		if ( ! $message instanceof Message ) {
			$message = new Message( compact( 'message', 'level' ) );
		}

		// Push the messages in the queue.
		$this->messages->push( $message );

		return $this->flash();
	}
86482
public function setLogLevel($level)
    {
        $this->logLevelSet = true;
        if ($level != $this->getLogLevel()) {
            $this->logLevel = $level;
            $this->info("Setting loglevel to $level");
        }
    }
904914
protected function logMessage($level, $message)
    {
        if (array_search($level, $this->levels) > $this->levelPosition) {
            return;
        }

        echo $message;
    }
1234856
protected function _checkLogLevel( $level )
	{
		switch( $level )
		{
			case MW_Logger_Abstract::EMERG:
			case MW_Logger_Abstract::ALERT:
			case MW_Logger_Abstract::CRIT:
			case MW_Logger_Abstract::ERR:
			case MW_Logger_Abstract::WARN:
			case MW_Logger_Abstract::NOTICE:
			case MW_Logger_Abstract::INFO:
			case MW_Logger_Abstract::DEBUG:
				break;
			default:
				throw new MW_Logger_Exception( sprintf( 'Invalid log level constant "%1$d"', $level ) );
		}
	}
129298
protected function setLevel($context, $level = null, $force = false)
    {
        if (!is_null($level) &&
            $this->_info->$context != $level &&
            ($force || $this->_info->$context < $level)) {
            $this->_info->$context = $level;
            $writer = new \Zend_Config_Writer_Ini();
            $writer->write($this->upgradeFile, $this->_info);
        }
    }
16553
public function setLevel($level)
    {
        if (!array_key_exists($level, self::LEVEL_PRIORITIES)) {
            throw new Exception(self::ERR_INVALID_LEVEL);
        }

        $lowestPriority = self::LEVEL_PRIORITIES[$level];
        $accepted = [];

        foreach (self::LEVEL_PRIORITIES as $level => $priority) {
            if ($priority > $lowestPriority) {
                continue;
            }

            $accepted[] = $level;
        }

        $this->acceptedLevels = $accepted;
    }
854457
public function display($level = 1)
    {
        $this->attributes->removeAttributeClass('display-*');
        $this->attributes->addAttributeClass('display-' . (int)$level);

        return $this;
    }
14711
function set_multi($level) {
        $level = (intval($level) << 12);
        $this->_mode &= ~PSCWS4_MULTI_MASK;
        if ($level & PSCWS4_MULTI_MASK) $this->_mode |= $level;
    }
1232190
public function shutdown($level)
    {
        if (!$this->encapsulated) {
            return;
        }

        $headers = $this->cleanHeaders();

        foreach ($headers as $name => $value) {
            $this->response->headers->set($name, $value);
        }

        $content = ob_get_contents();

        $this->response->setContent($content);

        $this->restoreBufferLevel($level);

        $this->response->send();
    }
1336080
public function setLogLevelFile($level, $filename)
    {
        $dir = dirname($this->defaultFile);

        if (!is_array($level)) {
            $level = array($level);
        }

        foreach ($level as $loglevel) {
            $this->filenameLevels[$loglevel] = $dir.DIRECTORY_SEPARATOR.$filename;
        }
    }
886273
public function level($level)
    {
        if ($level === null) {
            return $this;
        }
        
        $this->prepend = '   ' . (str_repeat('  ', $level));
        
        return $this;
    }
174800
protected function _log($level, $args)
    {
        foreach ($args as $message) {
            $this->send($level, $message);
        }
    }
335443
public function log($msg, $level = Project::MSG_INFO)
    {
        if ($this->project !== null) {
            $this->project->log("[filter:" . get_class($this) . "] " . $msg, $level);
        }
    }