PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Serilog/Serilog­Logging­Backend/Create­Async­Method­Context
Open sandboxFocus

Method CreateAsyncMethodContext

CreateAsyncMethodContext()

Creates a new AsyncMethodLoggingContext for a given async method.

Declaration
protected override AsyncMethodLoggingContext CreateAsyncMethodContext()
Returns
Type Description
AsyncMethodLoggingContext

A new AsyncMethodLoggingContext.

Overrides
LoggingBackend.CreateAsyncMethodContext()