| Package | Description |
|---|---|
| com.linecorp.armeria.client.logging |
Logging client decorators.
|
| com.linecorp.armeria.common.logging | |
| com.linecorp.armeria.common.metric |
Common metric collection utilities.
|
| com.linecorp.armeria.internal.common.logging |
Various classes used internally.
|
| com.linecorp.armeria.internal.common.metric |
Various classes used internally.
|
| com.linecorp.armeria.server.logging |
Logging and metric-collecting service decorators.
|
| Modifier and Type | Method and Description |
|---|---|
LoggingRpcClientBuilder |
LoggingRpcClientBuilder.responseLogLevelMapper(Function<? super RequestLog,LogLevel> responseLogLevelMapper) |
LoggingClientBuilder |
LoggingClientBuilder.responseLogLevelMapper(Function<? super RequestLog,LogLevel> responseLogLevelMapper) |
| Modifier and Type | Method and Description |
|---|---|
RequestLog |
RequestLogAccess.ensureAvailable(Iterable<RequestLogProperty> properties)
Returns the
RequestLog that is guaranteed to have all the specified RequestLogPropertys. |
RequestLog |
RequestLogAccess.ensureAvailable(RequestLogProperty... properties)
Returns the
RequestLog that is guaranteed to have all the specified RequestLogPropertys. |
RequestLog |
RequestLogAccess.ensureAvailable(RequestLogProperty property)
Returns the
RequestLog that is guaranteed to have the specified RequestLogProperty. |
RequestLog |
RequestLogAccess.ensureComplete()
Returns the
RequestLog that is guaranteed to have all properties, for both request and response
side. |
RequestLog |
RequestLogAccess.partial()
Returns the
RequestLog for the Request, where all properties may not be available yet. |
| Modifier and Type | Method and Description |
|---|---|
protected Function<? super RequestLog,LogLevel> |
LoggingDecoratorBuilder.responseLogLevelMapper()
Returns the
LogLevel to use when logging response logs. |
CompletableFuture<RequestLog> |
RequestLogAccess.whenAvailable(Iterable<RequestLogProperty> properties)
Returns a
CompletableFuture which will be completed when all the specified
RequestLogPropertys are collected. |
CompletableFuture<RequestLog> |
RequestLogAccess.whenAvailable(RequestLogProperty... properties)
Returns a
CompletableFuture which will be completed when all the specified
RequestLogPropertys are collected. |
CompletableFuture<RequestLog> |
RequestLogAccess.whenAvailable(RequestLogProperty property)
Returns a
CompletableFuture which will be completed when the specified
RequestLogProperty is collected. |
CompletableFuture<RequestLog> |
RequestLogAccess.whenComplete()
Returns a
CompletableFuture which will be completed when the Request has been processed
completely and thus all properties of the RequestLog have been collected. |
| Modifier and Type | Method and Description |
|---|---|
LoggingDecoratorBuilder |
LoggingDecoratorBuilder.responseLogLevelMapper(Function<? super RequestLog,LogLevel> responseLogLevelMapper)
Sets the
Function to use when mapping the log level of response logs. |
| Modifier and Type | Method and Description |
|---|---|
MeterIdPrefix |
MeterIdPrefixFunction.completeRequestPrefix(MeterRegistry registry,
RequestLog log)
Creates a
MeterIdPrefix from the specified complete RequestLog. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LoggingDecorators.logResponse(org.slf4j.Logger logger,
RequestLog log,
Function<? super RequestLog,LogLevel> requestLogLevelMapper,
Function<? super RequestLog,LogLevel> responseLogLevelMapper,
Function<? super RequestHeaders,?> requestHeadersSanitizer,
Function<Object,?> requestContentSanitizer,
Function<? super HttpHeaders,?> requestTrailersSanitizer,
Function<? super ResponseHeaders,?> responseHeadersSanitizer,
Function<Object,?> responseContentSanitizer,
Function<? super HttpHeaders,?> responseTrailersSanitizer,
Function<? super Throwable,?> responseCauseSanitizer)
Logs a stringified response of
RequestLog. |
| Modifier and Type | Method and Description |
|---|---|
static void |
LoggingDecorators.logResponse(org.slf4j.Logger logger,
RequestLog log,
Function<? super RequestLog,LogLevel> requestLogLevelMapper,
Function<? super RequestLog,LogLevel> responseLogLevelMapper,
Function<? super RequestHeaders,?> requestHeadersSanitizer,
Function<Object,?> requestContentSanitizer,
Function<? super HttpHeaders,?> requestTrailersSanitizer,
Function<? super ResponseHeaders,?> responseHeadersSanitizer,
Function<Object,?> responseContentSanitizer,
Function<? super HttpHeaders,?> responseTrailersSanitizer,
Function<? super Throwable,?> responseCauseSanitizer)
Logs a stringified response of
RequestLog. |
static void |
LoggingDecorators.logResponse(org.slf4j.Logger logger,
RequestLog log,
Function<? super RequestLog,LogLevel> requestLogLevelMapper,
Function<? super RequestLog,LogLevel> responseLogLevelMapper,
Function<? super RequestHeaders,?> requestHeadersSanitizer,
Function<Object,?> requestContentSanitizer,
Function<? super HttpHeaders,?> requestTrailersSanitizer,
Function<? super ResponseHeaders,?> responseHeadersSanitizer,
Function<Object,?> responseContentSanitizer,
Function<? super HttpHeaders,?> responseTrailersSanitizer,
Function<? super Throwable,?> responseCauseSanitizer)
Logs a stringified response of
RequestLog. |
| Modifier and Type | Method and Description |
|---|---|
static void |
RequestMetricSupport.appendHttpStatusTag(<any> tagListBuilder,
RequestLog log)
Appends
HttpStatus to Tag. |
| Modifier and Type | Method and Description |
|---|---|
void |
AccessLogWriter.log(RequestLog log)
Logs the specified
RequestLog. |
| Modifier and Type | Method and Description |
|---|---|
LoggingServiceBuilder |
LoggingServiceBuilder.responseLogLevelMapper(Function<? super RequestLog,LogLevel> responseLogLevelMapper) |
Copyright © 2020 LeanCloud. All rights reserved.