Logging Level ~
The default logging level; the lower the level, the fewer messages that are logged. Available options: 0 (FATAL), 1 (ERROR), 2 (WARN), 3 (INFO), and 4 (DEBUG).

@param string $value

@return $this
343578
public function setCoreLogLevel($value)
    {
        $this->setFieldName('log_level');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1239670
public function setHash($value) {
        // TODO: freeze the instance after configuration and automatically call copy()

        if (isset($value)) {
            if (!is_scalar($value)) throw new IllegalTypeException('Illegal type of parameter $value: '.gettype($value));
            if (is_bool($value))
                $value = (int) $value;
        }
        $value = (string) $value;
        $path = $this->getPath();
        $this->setPath(strLeftTo($path, '#', $count=1, $includeLimiter=false, $onNotFound=$path).'#'.$value);

        return $this;
    }
1293074
public function setValue($value)
    {
        switch ($this->type) {
            case Parameter::TYPE_INTEGER:
                $this->value = (int) $value;
                break;
            case Parameter::TYPE_STRING:
            case Parameter::TYPE_ANY:
            default:
                $this->value = (string) $value;
        }

        return $this;
    }
237594
public function setHeight($value)
	{
		$this->height = intval($value);
		$this->bottom = null;
		return $this;
	}
483701
public function setTimeout($value)
    {
        if (!is_numeric($value) || $value <= 0) {
            $value = 15;
        }
        $this->timeout = $value;
        return $this;
    }
927602
private function logMessage(
        LoggerInterface $logger,
        string $level,
        string $value
    ) {
        /**
         * Logs content, using specified level.
         */
        $logger->$level($value);
    }
252870
public function logValue($value, $name = null) {
        if (is_null($name)) {
            $name = 'VALUE';
        }
        $this->log('%s => %s', $name,
            $this->_backtrace_formatArgsHelper($value));
    }
1344420
private function loggerLevel($level)
    {
        switch ($level) {
            case 'trace':
            case 'debug':
                return Logger::DEBUG;
                break;

            case 'info':
                return Logger::INFO;
                break;

            case 'notice':
                return Logger::NOTICE;
                break;

            case 'warn':
            case 'warning':
                return Logger::WARNING;
                break;

            case 'error':
                return Logger::ERROR;
                break;

            case 'crit':
            case 'critical':
                return Logger::CRITICAL;
                break;

            case 'alert':
                return Logger::ALERT;
                break;

            case 'emergency':
                return Logger::EMERGENCY;
                break;

            default:
                throw new \Exception('Unknown Log Level', 1);
                break;
        }
    }
975111
public function setCoreFailedLoginAttempts($value)
    {
        $this->setFieldName('failed_login_attempts');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1090093
public function setTotal($value)
    {
        if (StaticValidator::validates('number', $value)) {
            $this->total = StaticFilter::filter('number',$value);
            $this->pages = ceil($this->total / $this->rowsPerPage);
        }
        return $this;
    }
489708
public function setLogDate($value) : Log
    {
        $this->validateDate('LogDate', $value);

        if ($this->data['log_date'] !== $value) {
            $this->data['log_date'] = $value;
            $this->setModified('log_date');
        }

        return $this;
    }
518557
public function setLog($value)
    {
        $this->_validateString('Log', $value);

        if ($this->data['log'] === $value) {
            return;
        }

        $this->data['log'] = $value;

        $this->_setModified('log');
    }
1273155
private function setEqLevel(string $type, int $value): SpeakerInterface
    {
        if ($value < -10) {
            $value = -10;
        }
        if ($value > 10) {
            $value = 10;
        }

        $type = ucfirst(strtolower($type));
        $this->soap("RenderingControl", "Set{$type}", [
            "Channel"           =>  "Master",
            "Desired{$type}"    =>  $value,
        ]);

        return $this;
    }
926804
def to_log_level(value):
        
        if value == None:
            return LogLevel.Info

        value = str(value).upper()
        if ("0" == value) or ("NOTHING" == value) or ("NONE" == value):
            return LogLevel.Nothing
        elif ("1" == value) or ("FATAL" == value):
            return LogLevel.Fatal
        elif ("2" == value) or ("ERROR" == value):
            return LogLevel.Error
        elif ("3" == value) or ("WARN" == value) or ("WARNING" == value):
            return LogLevel.Warn
        elif ("4" == value) or ("INFO" == value):
            return LogLevel.Info
        elif ("5" == value) or ("DEBUG" == value):
            return LogLevel.Debug
        elif ("6" == value) or ("TRACE" == value):
            return LogLevel.Trace
        else:
            return LogLevel.Info
237741
public function setIndentationLevel($value)
    {
        if ($value < 0 || (!is_string($value) && is_infinite($value))) {
            throw new Exceptions\InvalidArgumentException('The indentation level can not be negative or infinite.');
        }

        $this->indentationLevel = intval($value);

        return $this;
    }
280135
public function setCoreDefaultContext($value)
    {
        $this->setFieldName('default_context');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
568941
public function setLink(?string $value) : Log
    {

        if ($this->data['link'] !== $value) {
            $this->data['link'] = $value;
            $this->setModified('link');
        }

        return $this;
    }