src/DatabaseDriver.php
public function setDebug($level)
	{
		$previous    = $this->debug;
		$this->debug = (bool) $level;

		return $previous;
	}
public function setDebug($level)
	{
		$previous    = $this->debug;
		$this->debug = (bool) $level;

		return $previous;
	}
public function setDebug ( $ level ) { $ previous = $ this -> debug ; $ this -> debug = ( bool ) $ level ; return $ previous ; }
Sets the database debugging state for the driver.

@param   boolean  $level  True to enable debugging.

@return  boolean  The old debugging level.

@since   1.0
Sets the database debugging state for the driver .