Class FileLoggerOptions
- Namespace
- JJMasterData.Commons.Logging.File
- Assembly
- JJMasterData.Commons.dll
public sealed class FileLoggerOptions : BatchingLoggerOptions
- Inheritance
-
FileLoggerOptions
- Inherited Members
Properties
FileName
Gets or sets a string representing the file name used to store the logging information.
public string FileName { get; set; }
Property Value
FileSizeLimit
Gets or sets a strictly positive value representing the maximum log size in bytes or null for no limit.
Once the log is full, no more messages will be appended.
Defaults to 10MB
.
public int? FileSizeLimit { get; set; }
Property Value
- int?
Formatting
public FileLoggerFormatting Formatting { get; set; }
Property Value
RetainedFileCountLimit
Gets or sets a strictly positive value representing the maximum retained file count or null for no limit.
Defaults to 2
.
public int? RetainedFileCountLimit { get; set; }
Property Value
- int?