PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Get­Context­For­Description Method

TextLogRecordBuilder.GetContextForDescription Method

Note: This API is now obsolete.

Gets the LoggingContext that should be used when getting or appending the Description.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
[ObsoleteAttribute("Use the Context property.")]
protected LoggingContext GetContextForDescription()

Return Value

Type: LoggingContext
The current Context or the ParentContext
See Also