HttpLoggingEndpointConventionBuilderExtensions
WithHttpLogging<TBuilder>(TBuilder, HttpLoggingFields, Int32?, Int32?)
net9.0
namespace Microsoft.AspNetCore.Builder
{
public static class HttpLoggingEndpointConventionBuilderExtensions
{
public static TBuilder WithHttpLogging<TBuilder>(this TBuilder builder, HttpLoggingFields loggingFields, int? requestBodyLogLimit = default, int? responseBodyLogLimit = default)
where TBuilder, IEndpointConventionBuilder!;
}
}
| .NET | 8.09.0 |
|---|---|
Information specific to net9.0 | |
| Assembly | Microsoft.AspNetCore.HttpLogging , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API