PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace / Console­Log­Record­Builder Class / Console­Log­Record­Builder Methods / Console­Log­Record­Builder.​Append­Context­Description Method

ConsoleLogRecordBuilder.AppendContextDescription Method

Appends the context Description (or the TypeSource name, if the type of the context is not equal to the source type of the record) to the current StringBuilder.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
protected override bool AppendContextDescription()

Return Value

Type: Boolean
true if the context description was non-empty, false if it was empty.
See Also