語言

GlobalLogBufferingOptions.MaxLogRecordSizeInBytes 屬性

定義

取得或設定每個日誌記錄的最大大小(以位元組為單位)。

public:
 property int MaxLogRecordSizeInBytes { int get(); void set(int value); };
[System.ComponentModel.DataAnnotations.Range(1, 10485760)]
public int MaxLogRecordSizeInBytes { get; set; }
[<System.ComponentModel.DataAnnotations.Range(1, 10485760)>]
member this.MaxLogRecordSizeInBytes : int with get, set
Public Property MaxLogRecordSizeInBytes As Integer

屬性值

屬性

備註

如果日誌記錄的大小超過這個限制,則不會被緩衝。

適用於