HttpRequestLogger Interface


Manages logging HTTP requests in HttpLoggingPolicy.

public interface HttpRequestLogger


getLogLevel(HttpRequestLoggingContext loggingOptions)

Gets the LogLevel used to log the HTTP request.

By default, this will return INFORMATIONAL.

logRequest(ClientLogger logger, HttpRequestLoggingContext loggingOptions)

Logs the HTTP request.

To get the LogLevel used to log the HTTP request use getLogLevel(HttpRequestLoggingContext loggingOptions).

Applies to