Freigeben über


LoggingPolicyFactory class

LoggingPolicyFactory is a factory class helping generating LoggingPolicy objects.

Constructors

LoggingPolicyFactory(IRequestLogOptions)

Methods

create(RequestPolicy, RequestPolicyOptions)

Constructor Details

LoggingPolicyFactory(IRequestLogOptions)

new LoggingPolicyFactory(loggingOptions?: IRequestLogOptions)

Parameters

loggingOptions
IRequestLogOptions

Method Details

create(RequestPolicy, RequestPolicyOptions)

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptions)

Parameters

nextPolicy

RequestPolicy

options

RequestPolicyOptions

Returns