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

EphemeralLoggingContext.Open Method

Opens the context.

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 virtual void Open(
	LoggingContext parent,
	LoggingTypeSource typeSource
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The parent context.
typeSource
Type: PostSharp.Patterns.Diagnostics.LoggingTypeSource
The type emitting the record.
See Also