I am trying to understand following code (it is from Data.php). I am assuming it creates some sort of log file, but i can not figure out where can i find it. Can any one help me please? (It does not create file erply.log - i have searched it from all the directories).
class Eepohs_Erply_Helper_Data extends Mage_Core_Helper_Data {
private $_filename = 'erply.log';
public function log($message, $method = null, $line = null) {
if ( Mage::getStoreConfig('eepohs_erply/general/log_enabled') ) {
if ( is_null($method) ) $method = __METHOD__;
if ( is_null($line) ) $line = __LINE__; Mage::log(sprintf('%s(%s): %s', $method, $line,
print_r($message, true)), null, $this->_filename);
}
}
}
All the files associated with it are located in https://github.com/erplyopensource/magento-integration (i am just trying to understand the code)