EphemeralLoggingContext Constructor |
Initializes a new EphemeralLoggingContext.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public EphemeralLoggingContext( LoggingBackend backend, ThreadLoggingContext threadContext )
Parameters
- backend
- Type: PostSharp.Patterns.Diagnostics.LoggingBackend
The parent LoggingBackend. - threadContext
- Type: PostSharp.Patterns.Diagnostics.Contexts.ThreadLoggingContext
The ThreadLoggingContext in which the new EphemeralLoggingContext will be used.