Open sandboxFocus

Class AspNetCoreLogging

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.

Inheritance
AspNetCoreLogging
Namespace: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly: PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll
Syntax
public sealed class AspNetCoreLogging

Constructors

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.