/** * Log debug data to file * * Prior Magento 1.4.1 this method doesn't exist. So it is mainly to provide * BC. * * @param mixed $debugData */ protected function _debug($debugData) { if (method_exists($this, 'getDebugFlag')) { return parent::_debug($debugData); } if ($this->getConfigData('debug')) { Mage::log($debugData, null, 'payment_' . $this->getCode() . '.log', true); } }