/** * Set the log and log location configured in the PagSeguro module */ public function setLog() { \PagSeguro\Configuration\Configure::setLog($this->_scopeConfig->getValue('payment/pagseguro/log'), $this->_scopeConfig->getValue('payment/pagseguro/log_file')); }