HttpPipelineLogger interface

A Logger that can be added to a HttpPipeline. This enables each RequestPolicy to log messages that can be used for debugging purposes.

Properties

minimumLogLevel

The log level threshold for what logs will be logged.

Methods

log(HttpPipelineLogLevel, string)

Log the provided message.

Property Details

minimumLogLevel

The log level threshold for what logs will be logged.

minimumLogLevel: HttpPipelineLogLevel

Property Value

Method Details

log(HttpPipelineLogLevel, string)

Log the provided message.

function log(logLevel: HttpPipelineLogLevel, message: string)

Parameters

logLevel
HttpPipelineLogLevel

The HttpLogDetailLevel associated with this message.

message

string

The message to log.