Files
dnsmasq-webui/src/DnsmasqWebUI/Infrastructure/Client/Abstractions/ILoggingClient.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

12 lines
631 B
C#

namespace DnsmasqWebUI.Infrastructure.Client.Abstractions;
/// <summary>Client for runtime logging API (log level and category filters).</summary>
public interface ILoggingClient
{
Task<string> GetLevelAsync(CancellationToken ct = default);
Task<string> SetLevelAsync(string logLevel, CancellationToken ct = default);
Task<IReadOnlyList<string>> GetFiltersAsync(CancellationToken ct = default);
Task<IReadOnlyList<string>> SetFiltersAsync(IReadOnlyList<string> excludedCategoryPrefixes, CancellationToken ct = default);
Task<IReadOnlyList<string>> RestoreFilterDefaultsAsync(CancellationToken ct = default);
}