Instruments the ASP.NET Core stack to define new logging activity (and possibly transactions) for incoming HTTP requests. This is implementation is based on DiagnosticListener and will capture all incoming requests.
Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll
Syntax
public sealed class AspNetCoreLoggingConstructors
| Name | Description |
|---|---|
| AspNetCoreLogging() |
Methods
| Name | Description |
|---|---|
| Initialize(ICorrelationProtocol, Predicate<HttpRequest>, LogEventMetadata) | Instruments the ASP.NET Core stack to define new logging activity (and possibly transactions) for incoming HTTP requests. |