protected function aboveLevel($level, $base)
    {
        $levelOrder = $this->getLogLevelOrder();
        $baseIndex = array_search($base, $levelOrder);
        $levelIndex = array_search($level, $levelOrder);

        return $levelIndex >= $baseIndex;
    }
protected function aboveLevel($level, $base)
    {
        $levelOrder = $this->getLogLevelOrder();
        $baseIndex = array_search($base, $levelOrder);
        $levelIndex = array_search($level, $levelOrder);

        return $levelIndex >= $baseIndex;
    }
protected function aboveLevel ( $ level , $ base ) { $ levelOrder = $ this -> getLogLevelOrder ( ) ; $ baseIndex = array_search ( $ base , $ levelOrder ) ; $ levelIndex = array_search ( $ level , $ levelOrder ) ; return $ levelIndex >= $ baseIndex ; }
Checks whether the selected level is above another level.

@param string $level
@param string $base

@return bool
Checks whether the selected level is above another level .