isLoggingEnabled() public method

public isLoggingEnabled ( $storeId = null )
示例#1
0
 public function log($message, $forceLog = false)
 {
     if ($this->config->isLoggingEnabled() || $forceLog) {
         Mage::log($message, null, 'algolia.log');
     }
 }