LoggingBackend.CreateEphemeralContext Method |
Creates a new EphemeralLoggingContext.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.14.0 (6.10.14.0)
C#
protected virtual 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.