PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog Namespace / Serilog­Logging­Backend Class / Serilog­Logging­Backend Methods / Serilog­Logging­Backend.​Create­Async­Method­Context Method

SerilogLoggingBackend.CreateAsyncMethodContext Method

Creates a new AsyncMethodLoggingContext for a given async method.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
protected override AsyncMethodLoggingContext CreateAsyncMethodContext()

Return Value

Type: AsyncMethodLoggingContext
A new AsyncMethodLoggingContext.
See Also