public function setup(Model $Model, $config = array())
	{
		if (!is_array($config) || isset($config[0])) {
			$config = $this->defaults;
		}

		if (isset($config['priority'])) {
			unset($config['priority']);
		}

		$this->settings[$Model->alias] = array_merge($this->defaults, $config);

		if ($this->settings[$Model->alias]['auditSql']) {
			$this->QueryLogSource->enable($Model);
		}
	}