application/Espo/Core/Utils/Log/Monolog/Logger.php
public function getLevelCode($levelName)
    {
        $levelName = strtoupper($levelName);

        $levels = $this->getLevels();

        if (isset($levels[$levelName])) {
            return $levels[$levelName];
        }

        return $levels[$this->defaultLevelName];
    }
public function getLevelCode($levelName)
    {
        $levelName = strtoupper($levelName);

        $levels = $this->getLevels();

        if (isset($levels[$levelName])) {
            return $levels[$levelName];
        }

        return $levels[$this->defaultLevelName];
    }
public function getLevelCode ( $ levelName ) { $ levelName = strtoupper ( $ levelName ) ; $ levels = $ this -> getLevels ( ) ; if ( isset ( $ levels [ $ levelName ] ) ) { return $ levels [ $ levelName ] ; } return $ levels [ $ this -> defaultLevelName ] ; }
Get Level Code
@param  string $level Ex. DEBUG, ...
@return int
Get Level Code