Hosts file editor (#20462)

This commit is contained in:
Davide Giacometti
2022-10-13 13:05:43 +02:00
committed by GitHub
parent ab41b61e84
commit b2e1337d4e
67 changed files with 3858 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ namespace Common.UI
FileExplorer,
ShortcutGuide,
VideoConference,
Hosts,
}
private static string SettingsWindowNameToString(SettingsWindow value)
@@ -53,6 +54,8 @@ namespace Common.UI
return "ShortcutGuide";
case SettingsWindow.VideoConference:
return "VideoConference";
case SettingsWindow.Hosts:
return "Hosts";
default:
{
return string.Empty;

View File

@@ -35,6 +35,8 @@ struct LogSettings
inline const static std::string alwaysOnTopLoggerName = "always-on-top";
inline const static std::string powerOcrLoggerName = "TextExtractor";
inline const static std::wstring alwaysOnTopLogPath = L"always-on-top-log.txt";
inline const static std::string hostsLoggerName = "hosts";
inline const static std::wstring hostsLogPath = L"Logs\\hosts-log.txt";
inline const static int retention = 30;
std::wstring logLevel;
LogSettings();