共用方式為


AzureFileLoggerOptions.FileSizeLimit Property

Definition

Gets or sets the maximum log size in bytes or null for no limit.

public:
 property Nullable<int> FileSizeLimit { Nullable<int> get(); void set(Nullable<int> value); };
public int? FileSizeLimit { get; set; }
member this.FileSizeLimit : Nullable<int> with get, set
Public Property FileSizeLimit As Nullable(Of Integer)

Property Value

The default is 10 MB.

Remarks

Once the log is full, no more messages are appended.

Applies to