private function parseOption() {
		$value = 0;
		$options = explode('|', $this->option);
	
		foreach($options as $option) {
			if (!empty($option)) {
				$constant = "LOG_" . trim($option);
				if (defined($constant)) {
					$value |= constant($constant);
				} else {
					trigger_error("log4php: Invalid syslog option provided: $option. Whole option string: {$this->option}.", E_USER_WARNING);
				}
			}
		}
		return $value;
	}
private function parseOption() {
		$value = 0;
		$options = explode('|', $this->option);
	
		foreach($options as $option) {
			if (!empty($option)) {
				$constant = "LOG_" . trim($option);
				if (defined($constant)) {
					$value |= constant($constant);
				} else {
					trigger_error("log4php: Invalid syslog option provided: $option. Whole option string: {$this->option}.", E_USER_WARNING);
				}
			}
		}
		return $value;
	}
private function parseOption ( ) { $ value = 0 ; $ options = explode ( '|' , $ this -> option ) ; foreach ( $ options as $ option ) { if ( ! empty ( $ option ) ) { $ constant = "LOG_" . trim ( $ option ) ; if ( defined ( $ constant ) ) { $ value |= constant ( $ constant ) ; } else { trigger_error ( "log4php: Invalid syslog option provided: $option. Whole option string: {$this->option}." , E_USER_WARNING ) ; } } } return $ value ; }
Parses a syslog option string and returns the correspodning int value.
Parses a syslog option string and returns the correspodning int value .