Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends Namespace / Text­Logging­Backend­Options Class / Text­Logging­Backend­Options Properties / Text­Logging­Backend­Options.​Action­Max­Length Property

TextLoggingBackendOptions.ActionMaxLength Property

Max length of a log record. The default value is 2048.

Namespace:  PostSharp.Patterns.Diagnostics.Backends
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public int ActionMaxLength { get; set; }

Property Value

Type: Int32
Remarks

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

See Also