Package com.microsoft.azure.storage.blob
Class LoggingFactory
- java.lang.Object
-
- com.microsoft.azure.storage.blob.LoggingFactory
-
- All Implemented Interfaces:
com.microsoft.rest.v2.policy.RequestPolicyFactory
public final class LoggingFactory extends Object implements com.microsoft.rest.v2.policy.RequestPolicyFactory
This is a factory which creates policies in anHttpPipelinefor logging requests and responses. In most cases, it is sufficient to configure an object of theLoggingOptionstype and set those as a field on aPipelineOptionsstructure to configure a default pipeline. The factory and policy must only be used directly when creating a custom pipeline.
-
-
Constructor Summary
Constructors Constructor Description LoggingFactory(LoggingOptions loggingOptions)Creates a factory which can create LoggingPolicy objects to insert in the pipeline.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.microsoft.rest.v2.policy.RequestPolicycreate(com.microsoft.rest.v2.policy.RequestPolicy next, com.microsoft.rest.v2.policy.RequestPolicyOptions options)
-
-
-
Constructor Detail
-
LoggingFactory
public LoggingFactory(LoggingOptions loggingOptions)
Creates a factory which can create LoggingPolicy objects to insert in the pipeline. This will allow for logging requests and responses.- Parameters:
loggingOptions- The configurations for this factory. Null will indicate use of the default options.
-
-