SerilogLoggingBackend.CreateEphemeralContext Method |
Namespace: PostSharp.Patterns.Diagnostics.Backends.Serilog
Assembly: PostSharp.Patterns.Diagnostics.Backends.Serilog (in PostSharp.Patterns.Diagnostics.Backends.Serilog.dll) Version: 6.10.10.0 (6.10.10.0)
protected override EphemeralLoggingContext CreateEphemeralContext( ThreadLoggingContext threadContext )
Parameters
- threadContext
- Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
The ThreadLoggingContext in which the new EphemeralLoggingContext will be used.
Return Value
Type: EphemeralLoggingContextA new EphemeralLoggingContext to be use only in the thread of threadContext.