PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Backend­OptionsContext­Max­Length
Open sandboxFocus

LoggingBackendOptions.ContextMaxLength Property

ContextMaxLength

Max length of the Description property.

Declaration
public int ContextMaxLength { get; set; }
Property Value
Type Description
Int32
Remarks

This property determines the size of the buffer allocated to build the Description property. If the real length exceeds the value of ContextMaxLength, no exception is thrown, and the excess content is ignored.