PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Record­BuildersText­Log­Record­BuilderAppend­Context­Description
Open sandboxFocus

TextLogRecordBuilder.AppendContextDescription Method

AppendContextDescription()

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.

Declaration
protected void AppendContextDescription()

AppendContextDescription(LoggingContext)

Appends the context Description to the current StringBuilder.

Declaration
protected virtual void AppendContextDescription(LoggingContext context)
Parameters
Type Name Description
LoggingContext context