Beispiel #1
0
 /**
  * Log debug data to file
  *
  * @param mixed $debugData
  */
 protected function _debug()
 {
     if ($this->_config && $this->_config->debug) {
         $file = $this->_config->getMethodCode() ? "payment_{$this->_config->getMethodCode()}.log" : self::DEFAULT_LOG_FILE;
         Mage::getModel('core/log_adapter', $file)->log($this->_debugData);
     }
 }
Beispiel #2
0
 /**
  * Log debug data to file
  *
  * @param mixed $debugData
  */
 protected function _debug()
 {
     if ($this->_config && $this->_config->debug) {
         $file = $this->_config->getMethodCode() ? "payment_{$this->_config->getMethodCode()}.log" : self::DEFAULT_LOG_FILE;
         Mage::getModel('Mage_Core_Model_Log_Adapter', array('fileName' => $file))->log($this->_debugData);
     }
 }
 /**
  * Log debug data to file
  *
  * @param mixed $debugData
  */
 protected function _debug($debugData)
 {
     if ($this->getDebugFlag()) {
         Mage::getModel('core/log_adapter', 'payment_' . $this->_config->getMethodCode() . '.log')->setFilterDataKeys($this->_debugReplacePrivateDataKeys)->log($debugData);
     }
 }
Beispiel #4
0
 /**
  * Log debug data to file
  *
  * @param mixed $debugData
  */
 protected function _debug($debugData)
 {
     if ($this->getDebugFlag()) {
         Mage::getModel('Mage_Core_Model_Log_Adapter', array('fileName' => 'payment_' . $this->_config->getMethodCode() . '.log'))->setFilterDataKeys($this->_debugReplacePrivateDataKeys)->log($debugData);
     }
 }