/** * Check if it is possible to log messages. * @param bool $forceLog * @return bool */ protected function _isNotLoggable($forceLog = false) { return !Mage::getConfig() || !Mage::getIsDeveloperMode() && !$this->_config->isActive() && !$forceLog; }