LoggerConfiguration.MaxLogFileSizeMb Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maximum size for a logfile in MB. Default is 20 MB. Setting maxLogFileSizeMb to 0 will disable logging. Setting to -1 indicate no maximum size limit. All other negative values are invalid. Max allowed limit is 1024
public int MaxLogFileSizeMb { get; }
member this.MaxLogFileSizeMb : int
Public ReadOnly Property MaxLogFileSizeMb As Integer