microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/CloudAnalyticsClient.java
public Iterable<LogRecord> listLogRecords(StorageService service, Date startTime, Date endTime,
            BlobRequestOptions options, OperationContext operationContext) throws StorageException, URISyntaxException {
        Utility.assertNotNull("service", service);
        EnumSet<LoggingOperations> operations = EnumSet.allOf(LoggingOperations.class);
        EnumSet<BlobListingDetails> metadataDetails = EnumSet.noneOf(BlobListingDetails.class);
        Iterator<ListBlobItem> blobIterator = new LogBlobIterable(this.getLogDirectory(service), startTime, endTime,
                operations, metadataDetails, options, operationContext).iterator();

        return new LogRecordIterable(blobIterator);
    }
public Iterable<LogRecord> listLogRecords(StorageService service, Date startTime, Date endTime,
            BlobRequestOptions options, OperationContext operationContext) throws StorageException, URISyntaxException {
        Utility.assertNotNull("service", service);
        EnumSet<LoggingOperations> operations = EnumSet.allOf(LoggingOperations.class);
        EnumSet<BlobListingDetails> metadataDetails = EnumSet.noneOf(BlobListingDetails.class);
        Iterator<ListBlobItem> blobIterator = new LogBlobIterable(this.getLogDirectory(service), startTime, endTime,
                operations, metadataDetails, options, operationContext).iterator();

        return new LogRecordIterable(blobIterator);
    }
public Iterable < LogRecord > listLogRecords ( StorageService service , Date startTime , Date endTime , BlobRequestOptions options , OperationContext operationContext ) throws StorageException , URISyntaxException { Utility . assertNotNull ( "service" , service ) ; EnumSet < LoggingOperations > operations = EnumSet . allOf ( LoggingOperations . class ) ; EnumSet < BlobListingDetails > metadataDetails = EnumSet . noneOf ( BlobListingDetails . class ) ; Iterator < ListBlobItem > blobIterator = new LogBlobIterable ( this . getLogDirectory ( service ) , startTime , endTime , operations , metadataDetails , options , operationContext ) . iterator ( ) ; return new LogRecordIterable ( blobIterator ) ; }
Returns an enumerable collection of log records, retrieved lazily.

@param service
A {@link StorageService} enumeration value that indicates which storage service to use.
@param startTime
A <code>java.util.Date</code> object representing the start of the time range for which logs should
be retrieved.
@param endTime
A <code>java.util.Date</code> object representing the end of the time range for which logs should
be retrieved.
@param options
A {@link BlobRequestOptions} object that specifies additional options for the request.
@param operationContext
An {@link OperationContext} object that represents the context for the current operation.
@return
An enumerable collection of objects that implement {@link ListBlobItem} and are retrieved lazily.
@throws StorageException
@throws URISyntaxException
Returns an enumerable collection of log records retrieved lazily .