src/Core/Configuration/LocalConfigReader.php
public static function intializaeServiceBaseURLAndLogger($xmlObj, $ippConfig)
     {
         // Initialize BaseUrl Configuration Object
        $ippConfig->BaseUrl = new BaseUrl();
         if (isset($xmlObj) &&
             isset($xmlObj->intuit->ipp->service->baseUrl)) {
             $responseAttr = $xmlObj->intuit->ipp->service->baseUrl->attributes();
             $ippConfig->BaseUrl->Qbo = (string)$responseAttr->qbo;
             $ippConfig->BaseUrl->Ipp = (string)$responseAttr->ipp;
         } else {
             throw new \Exception("Base Url is not available from Config file.");
         }

        // Initialize Logger
        if (isset($xmlObj) &&
                 isset($xmlObj->intuit->ipp->logger->requestLog)) {
            $requestLogAttr = $xmlObj->intuit->ipp->logger->requestLog->attributes();
            $ServiceRequestLoggingLocation = (string)$requestLogAttr->requestResponseLoggingDirectory;
            $EnableRequestResponseLogging = (string)$requestLogAttr->enableRequestResponseLogging;
            LocalConfigReader::setupLogger($ippConfig, $ServiceRequestLoggingLocation, $EnableRequestResponseLogging);
        } else {
            throw new \Exception("Log settings is not available from Config file.");
        }

     // A developer is forced to write in the same style.
     // This should be refactored
     if (isset($xmlObj) &&
              isset($xmlObj->intuit->ipp->contentWriter)) {
         $contentWriterAttr = $xmlObj->intuit->ipp->contentWriter->attributes();
         $strategy = ContentWriterSettings::checkStrategy((string)$contentWriterAttr->strategy);
         $prefix = (string)$contentWriterAttr->prefix;
         $exportDir = $contentWriterAttr->exportDirectory;
         $returnOject = $contentWriterAttr->returnObject;
         LocalConfigReader::setupContentWriter($ippConfig, $strategy, $prefix, $exportDir, $returnOject);
     } else {
         throw new \Exception("Content Writer Settings is not available from Config file.");
     }
     }
public static function intializaeServiceBaseURLAndLogger($xmlObj, $ippConfig)
     {
         // Initialize BaseUrl Configuration Object
        $ippConfig->BaseUrl = new BaseUrl();
         if (isset($xmlObj) &&
             isset($xmlObj->intuit->ipp->service->baseUrl)) {
             $responseAttr = $xmlObj->intuit->ipp->service->baseUrl->attributes();
             $ippConfig->BaseUrl->Qbo = (string)$responseAttr->qbo;
             $ippConfig->BaseUrl->Ipp = (string)$responseAttr->ipp;
         } else {
             throw new \Exception("Base Url is not available from Config file.");
         }

        // Initialize Logger
        if (isset($xmlObj) &&
                 isset($xmlObj->intuit->ipp->logger->requestLog)) {
            $requestLogAttr = $xmlObj->intuit->ipp->logger->requestLog->attributes();
            $ServiceRequestLoggingLocation = (string)$requestLogAttr->requestResponseLoggingDirectory;
            $EnableRequestResponseLogging = (string)$requestLogAttr->enableRequestResponseLogging;
            LocalConfigReader::setupLogger($ippConfig, $ServiceRequestLoggingLocation, $EnableRequestResponseLogging);
        } else {
            throw new \Exception("Log settings is not available from Config file.");
        }

     // A developer is forced to write in the same style.
     // This should be refactored
     if (isset($xmlObj) &&
              isset($xmlObj->intuit->ipp->contentWriter)) {
         $contentWriterAttr = $xmlObj->intuit->ipp->contentWriter->attributes();
         $strategy = ContentWriterSettings::checkStrategy((string)$contentWriterAttr->strategy);
         $prefix = (string)$contentWriterAttr->prefix;
         $exportDir = $contentWriterAttr->exportDirectory;
         $returnOject = $contentWriterAttr->returnObject;
         LocalConfigReader::setupContentWriter($ippConfig, $strategy, $prefix, $exportDir, $returnOject);
     } else {
         throw new \Exception("Content Writer Settings is not available from Config file.");
     }
     }
Initialize BaseURL and log Settings from Simple XML Reading from SDK.config
@Hao