namespace Logger; /// /// Configuration options for file logging /// public class FileLoggerOptions { /// /// Name of the log file (without path) /// public string FileName { get; set; } = "app.log"; /// /// Directory where log files are stored /// public string LogDirectory { get; set; } = "Logs"; /// /// Maximum size of a single log file in bytes /// public long MaxFileSizeBytes { get; set; } = 10 * 1024 * 1024; // 10 MB default /// /// Maximum number of backup log files to keep /// public int MaxBackupFiles { get; set; } = 5; /// /// Minimum log level to write to file /// public LogLevel MinimumLevel { get; set; } = LogLevel.Info; }