| Package | Description |
|---|---|
| com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and its implementations.
|
| Modifier and Type | Method and Description |
|---|---|
HttpLogOptions |
HttpLogOptions.addAllowedHeaderName(String allowedHeaderName)
Sets the given whitelisted header to the default header set that should be logged.
|
HttpLogOptions |
HttpLogOptions.addAllowedQueryParamName(String allowedQueryParamName)
Sets the given whitelisted query param that should be logged.
|
HttpLogOptions |
HttpLogOptions.setAllowedHeaderNames(Set<String> allowedHeaderNames)
Sets the given whitelisted headers that should be logged.
|
HttpLogOptions |
HttpLogOptions.setAllowedQueryParamNames(Set<String> allowedQueryParamNames)
Sets the given whitelisted query params to be displayed in the logging info.
|
HttpLogOptions |
HttpLogOptions.setLogLevel(HttpLogDetailLevel logLevel)
Sets the level of detail to log on Http messages.
|
| Constructor and Description |
|---|
HttpLoggingPolicy(HttpLogOptions httpLogOptions)
Creates an HttpLoggingPolicy with the given log configurations.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.