| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| com.microsoft.rest.v2.policy |
Code related to creating proxy implementations of interfaces that have been generated from
Swagger specifications.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineLogLevel |
HttpPipelineLogger.minimumLogLevel()
The log level threshold for what logs will be logged.
|
HttpPipelineLogLevel |
AbstractHttpPipelineLogger.minimumLogLevel() |
static HttpPipelineLogLevel |
HttpPipelineLogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPipelineLogLevel[] |
HttpPipelineLogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SystemOutLogger.log(HttpPipelineLogLevel logLevel,
String message,
Object... formattedArguments) |
void |
Slf4jLogger.log(HttpPipelineLogLevel logLevel,
String message,
Object... formattedArguments) |
void |
HttpPipelineLogger.log(HttpPipelineLogLevel logLevel,
String message,
Object... formattedArguments)
Log the provided message.
|
AbstractHttpPipelineLogger |
AbstractHttpPipelineLogger.withMinimumLogLevel(HttpPipelineLogLevel minimumLogLevel)
Set the minimum log level that this logger should log.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestPolicyOptions.log(HttpPipelineLogLevel logLevel,
String message,
Object... formattedMessageArguments)
Attempt to log the provided message to the provided logger.
|
protected void |
AbstractRequestPolicy.log(HttpPipelineLogLevel logLevel,
String message,
Object... formattedMessageArguments)
Attempt to log the provided message to the provided logger.
|
boolean |
RequestPolicyOptions.shouldLog(HttpPipelineLogLevel logLevel)
Get whether or not a log with the provided log level should be logged.
|
boolean |
AbstractRequestPolicy.shouldLog(HttpPipelineLogLevel logLevel)
Get whether or not a log with the provided log level should be logged.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/