code: public Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>> listLogsWithServiceResponseAsync(final String resourceGroupName, final String serverName, final String databaseName, final String syncGroupName, final String startTime, final String endTime, final String type, final String continuationToken) {
          return listLogsSinglePageAsync(resourceGroupName, serverName, databaseName, syncGroupName, startTime, endTime, type, continuationToken)
              .concatMap(new Func1<ServiceResponse<Page<SyncGroupLogPropertiesInner>>, Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<SyncGroupLogPropertiesInner>>> call(ServiceResponse<Page<SyncGroupLogPropertiesInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listLogsNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Gets a collection of sync group logs.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param databaseName The name of the database on which the sync group is hosted.
  @param syncGroupName The name of the sync group.
  @param startTime Get logs generated after this time.
  @param endTime Get logs generated before this time.
  @param type The types of logs to retrieve. Possible values include: 'All', 'Error', 'Warning', 'Success'
  @param continuationToken The continuation token for this operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;SyncGroupLogPropertiesInner&gt; object