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

ThreadLoggingContext Constructor

Initializes a new ThreadLoggingContext.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.10.0 (6.5.10.0)
Syntax
C#
public ThreadLoggingContext(
	LoggingBackend backend,
	LogRecordBuilder recordBuilder
)

Parameters

backend
Type: PostSharp.Patterns.Diagnostics.LoggingBackend
The parent LoggingBackend.
recordBuilder
Type: PostSharp.Patterns.Diagnostics.RecordBuilders.LogRecordBuilder
The thread-local LogRecordBuilder.
See Also