Core/Classes/CoreLogger.php
public function setLogLevel($logLevel) {
 		if (is_int($logLevel) && $logLevel <= count($this->loggerTypes)) {
			$this->logLevel = $logLevel;
			$this->debug("Log level was set to: {$this->loggerTypes[$logLevel]->getName()}");
		} else {
			$this->warn("Invalid Log Level was requested");
		}
	}
public function setLogLevel($logLevel) {
 		if (is_int($logLevel) && $logLevel <= count($this->loggerTypes)) {
			$this->logLevel = $logLevel;
			$this->debug("Log level was set to: {$this->loggerTypes[$logLevel]->getName()}");
		} else {
			$this->warn("Invalid Log Level was requested");
		}
	}
public function setLogLevel ( $ logLevel ) { if ( is_int ( $ logLevel ) && $ logLevel <= count ( $ this -> loggerTypes ) ) { $ this -> logLevel = $ logLevel ; $ this -> debug ( "Log level was set to: {$this->loggerTypes[$logLevel]->getName()}" ) ; } else { $ this -> warn ( "Invalid Log Level was requested" ) ; } }
Sets the threshold for which log entries should actually get written to the log
@param int $logLevel Corresponds to an index of $loggerTypes
Sets the threshold for which log entries should actually get written to the log