SerilogLoggingBackend.CreateSyncMethodContext Method |
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.9.11.0 (6.9.11.0)
protected override SyncMethodLoggingContext CreateSyncMethodContext( ThreadLoggingContext threadContext )
Parameters
- threadContext
- Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
The ThreadLoggingContext in which the method is executed.
Return Value
Type: SyncMethodLoggingContextA new SyncMethodLoggingContext to be used only in the thread of threadContext.