MessageLoggingElement.MaxSizeOfMessageToLog MessageLoggingElement.MaxSizeOfMessageToLog MessageLoggingElement.MaxSizeOfMessageToLog MessageLoggingElement.MaxSizeOfMessageToLog Property

Definition

Gets or sets a value that specifies the maximum size, in bytes, of a message to log.

public:
 property int MaxSizeOfMessageToLog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxSizeOfMessageToLog", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=-1)]
public int MaxSizeOfMessageToLog { get; set; }
member this.MaxSizeOfMessageToLog : int with get, set
Public Property MaxSizeOfMessageToLog As Integer

Property Value

The maximum size, in bytes, of a message to log. Messages larger than the limit are not logged. This setting affects all trace levels. The default is Int32.MaxValue.

Applies to