PostSharp6.4/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Ephemeral­Logging­Context Class/Ephemeral­Logging­Context Constructor

EphemeralLoggingContext Constructor

Initializes a new EphemeralLoggingContext.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
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.
See Also