PostSharp 6.10 / / 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: (
public int ActionMaxLength { get; set; }

Property Value

Type: Int32

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

See Also