LoggingFactory Class

Definition

This is a factory which creates policies in an 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.

public class LoggingFactory
Inheritance
java.lang.Object
RequestPolicyFactory
LoggingFactory

Constructors

LoggingFactory(LoggingOptions loggingOptions)

Creates a factory which can create LoggingPolicy objects to insert in the pipeline. This will allow for logging requests and responses.

Methods

create(RequestPolicy next, RequestPolicyOptions options)

Applies to