mirror of
https://github.com/eliasstepanik/IonosDDNSUpdater.git
synced 2026-01-11 19:48:26 +00:00
Changed Log Color
This commit is contained in:
parent
e1f5e43c43
commit
c99efc9896
@ -38,7 +38,7 @@ var serviceProvider = new ServiceCollection()
|
|||||||
{
|
{
|
||||||
// Replace warning value from appsettings.json of "Cyan"
|
// Replace warning value from appsettings.json of "Cyan"
|
||||||
configuration.LogLevelToColorMap[LogLevel.Warning] = ConsoleColor.DarkCyan;
|
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"
|
// Replace warning value from appsettings.json of "Red"
|
||||||
configuration.LogLevelToColorMap[LogLevel.Error] = ConsoleColor.DarkRed;
|
configuration.LogLevelToColorMap[LogLevel.Error] = ConsoleColor.DarkRed;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -54,7 +54,6 @@ public class DDNSService : IDDNSService
|
|||||||
UpdateURLs = await GetUpdateURLs();
|
UpdateURLs = await GetUpdateURLs();
|
||||||
while (UpdateURLs == null || UpdateURLs.Count == 0 )
|
while (UpdateURLs == null || UpdateURLs.Count == 0 )
|
||||||
{
|
{
|
||||||
_logger.LogInformation($"Fetching UpdateURLs again.");
|
|
||||||
UpdateURLs = await GetUpdateURLs();
|
UpdateURLs = await GetUpdateURLs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user