Files
dnsmasq-webui/src/DnsmasqWebUI/Models/Config/RuntimeOverridesOptions.cs
T
alex 1bdd176c18 App logs, client settings, NavMenu layout
- Add real-time app logs via SignalR (log level, category filters)
- Add filters modal with restore defaults; sentinel for empty arrays
- Add client settings: max lines and auto-scroll per log panel
- Improve NavMenu: align settings + hamburger, smaller mobile logo
- LogsService, LogsHub, LoggingController, AppLogsLoggerProvider
- Persist log level and filters to appsettings.Overrides.json
2026-02-10 08:44:30 +10:00

20 lines
768 B
C#

namespace DnsmasqWebUI.Models.Config;
/// <summary>
/// Path for the app settings overrides file used to persist runtime config changes
/// (e.g. log level). Bound from "RuntimeOverrides" config section.
/// </summary>
public class RuntimeOverridesOptions
{
public const string SectionName = "RuntimeOverrides";
/// <summary>Default filename when FilePath is not set (resolved relative to application base directory).</summary>
public const string DefaultFileName = "appsettings.Overrides.json";
/// <summary>
/// Full path to the JSON file the app reads/writes for runtime overrides.
/// If not set, defaults to <see cref="DefaultFileName"/> in the application base directory.
/// </summary>
public string? FilePath { get; set; }
}