protected static function getLevelName($value)
    {
        $map = array_flip((new \ReflectionClass(self::class))->getConstants());

        return (array_key_exists($value, $map) ? $map[$value] : null);
    }
protected static function getLevelName($value)
    {
        $map = array_flip((new \ReflectionClass(self::class))->getConstants());

        return (array_key_exists($value, $map) ? $map[$value] : null);
    }
protected static function getLevelName ( $ value ) { $ map = array_flip ( ( new \ ReflectionClass ( self :: class ) ) -> getConstants ( ) ) ; return ( array_key_exists ( $ value , $ map ) ? $ map [ $ value ] : null ) ; }
Gets the log level name by value

@param int $value

@return null|string
Gets the log level name by value