Changed Log Color

This commit is contained in:
saile2204 2023-03-20 21:25:18 +01:00
parent e1f5e43c43
commit c99efc9896
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@ var serviceProvider = new ServiceCollection()
{
// Replace warning value from appsettings.json of "Cyan"
configuration.LogLevelToColorMap[LogLevel.Warning] = ConsoleColor.DarkCyan;
configuration.LogLevelToColorMap[LogLevel.Debug] = ConsoleColor.Yellow;
configuration.LogLevelToColorMap[LogLevel.Debug] = ConsoleColor.DarkYellow;
// Replace warning value from appsettings.json of "Red"
configuration.LogLevelToColorMap[LogLevel.Error] = ConsoleColor.DarkRed;
});

View File

@ -54,7 +54,6 @@ public class DDNSService : IDDNSService
UpdateURLs = await GetUpdateURLs();
while (UpdateURLs == null || UpdateURLs.Count == 0 )
{
_logger.LogInformation($"Fetching UpdateURLs again.");
UpdateURLs = await GetUpdateURLs();
}