public function log($msg, $type = ShopgateLogger::LOGTYPE_ERROR)
    {
        return $this->loggingStrategy->log($msg, $type);
    }
public function log($msg, $type = ShopgateLogger::LOGTYPE_ERROR)
    {
        return $this->loggingStrategy->log($msg, $type);
    }
public function log ( $ msg , $ type = ShopgateLogger :: LOGTYPE_ERROR ) { return $ this -> loggingStrategy -> log ( $ msg , $ type ) ; }
Logs a message to the according log file.

Logging to LOGTYPE_DEBUG only is done after $this->enableDebug() has been called and $this->disableDebug() has
not been called after that. The debug log file will be truncated on opening by default. To prevent this call
$this->keepDebugLog(true).

@param string $msg  The error message.
@param string $type The log type, that would be one of the ShopgateLogger::LOGTYPE_* constants.

@return bool true on success, false on error.
Logs a message to the according log file .