PostSharp 6.7 / / Post­Sharp Documentation / 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.7.12.0 (6.7.12.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