public final class LoggingFactory extends Object implements com.microsoft.rest.v2.policy.RequestPolicyFactory
HttpPipeline
for logging requests and responses. In most
cases, it is sufficient to configure an object of the LoggingOptions
type and set those as a field on a
PipelineOptions
structure to configure a default pipeline. The factory and policy must only be used directly
when creating a custom pipeline.Constructor and Description |
---|
LoggingFactory(LoggingOptions loggingOptions)
Creates a factory which can create LoggingPolicy objects to insert in the pipeline.
|
Modifier and Type | Method and Description |
---|---|
com.microsoft.rest.v2.policy.RequestPolicy |
create(com.microsoft.rest.v2.policy.RequestPolicy next,
com.microsoft.rest.v2.policy.RequestPolicyOptions options) |
public LoggingFactory(LoggingOptions loggingOptions)
loggingOptions
- The configurations for this factory. Null will indicate use of the default options.Copyright © 2019 Microsoft Corporation. All rights reserved.