PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Backend Class / Logging­Backend Methods / Logging­Backend.​Get­Thread­Context Method

LoggingBackend.GetThreadContext Method

Returns the ThreadLoggingContext for the current Thread.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public ThreadLoggingContext GetThreadContext()

Return Value

Type: ThreadLoggingContext
See Also