2025-11-16 12:31:25 -06:00
|
|
|
using LANCommander.Server.Settings.Enums;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
|
|
namespace LANCommander.Server.Settings.Models;
|
|
|
|
|
|
|
|
|
|
public class LoggingProvider
|
|
|
|
|
{
|
2025-11-17 18:01:53 -06:00
|
|
|
public string Name { get; set; } = "Console";
|
2025-11-16 12:31:25 -06:00
|
|
|
public LogLevel MinimumLevel { get; set; } = LogLevel.Information;
|
|
|
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
|
public LoggingProviderType Type { get; set; } = LoggingProviderType.Console;
|
|
|
|
|
public LogInterval? ArchiveEvery { get; set; }
|
|
|
|
|
public int MaxArchiveFiles { get; set; } = 10;
|
|
|
|
|
public string ConnectionString { get; set; } = String.Empty;
|
|
|
|
|
}
|