mirror of
https://github.com/alexhopeoconnor/dnsmasq-webui.git
synced 2026-10-03 22:12:00 +10:00
- 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
20 lines
768 B
C#
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; }
|
|
}
|