PostSharp 6.9 / / Post­Sharp Documentation / 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: (
[ObsoleteAttribute("Use the Context property.")]
protected LoggingContext GetContextForDescription()

Return Value

Type: LoggingContext
The current Context or the ParentContext
See Also