english/libraries/joomla/database/database.php
/**
	 * Sets the debug level on or off
	 *
	 * @param       integer  $level  0 to disable debugging and 1 to enable it.
	 *
	 * @return      void
	 *
	 * @since       11.1
	 * @deprecated  11.2
	 */
Sets the debug level on or off
@param       integer  $level  0 to disable debugging and 1 to enable it.

@return      void


Sets the debug level on or off @param integer $level 0 to disable debugging and 1 to enable it . @return void
public function debug($level)
	{
		JLog::add('JDatabase::debug() is deprecated, use JDatabase::setDebug() instead.', JLog::NOTICE, 'deprecated');
		$this->setDebug(($level == 0) ? false : true);
	}
public function debug ( $ level ) { JLog :: add ( 'JDatabase::debug() is deprecated, use JDatabase::setDebug() instead.' , JLog :: NOTICE , 'deprecated' ) ; $ this -> setDebug ( ( $ level == 0 ) ? false : true ) ; }
Sets the debug level on or off
 @param       integer  $level  0 to disable debugging and 1 to enable it.
Sets the debug level on or off @param integer $level 0 to disable debugging and 1 to enable it .
// Deprecation warning.