From 694fbe67f0fd51ffe0af99b973dc71bf55541ee1 Mon Sep 17 00:00:00 2001 From: Shargon Date: Fri, 24 Jun 2022 09:08:35 +0200 Subject: [PATCH] Format and remove unused KeyColor --- neo-cli/CLI/MainService.Logger.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/neo-cli/CLI/MainService.Logger.cs b/neo-cli/CLI/MainService.Logger.cs index c005419ae..286f7d962 100644 --- a/neo-cli/CLI/MainService.Logger.cs +++ b/neo-cli/CLI/MainService.Logger.cs @@ -20,12 +20,11 @@ namespace Neo.CLI { partial class MainService { - private static readonly ConsoleColorSet DebugColor = new ConsoleColorSet(ConsoleColor.Cyan); - private static readonly ConsoleColorSet InfoColor = new ConsoleColorSet(ConsoleColor.White); - private static readonly ConsoleColorSet WarningColor = new ConsoleColorSet(ConsoleColor.Yellow); - private static readonly ConsoleColorSet ErrorColor = new ConsoleColorSet(ConsoleColor.Red); - private static readonly ConsoleColorSet FatalColor = new ConsoleColorSet(ConsoleColor.Red); - private static readonly ConsoleColorSet KeyColor = new ConsoleColorSet(ConsoleColor.DarkGreen); + private static readonly ConsoleColorSet DebugColor = new(ConsoleColor.Cyan); + private static readonly ConsoleColorSet InfoColor = new(ConsoleColor.White); + private static readonly ConsoleColorSet WarningColor = new(ConsoleColor.Yellow); + private static readonly ConsoleColorSet ErrorColor = new(ConsoleColor.Red); + private static readonly ConsoleColorSet FatalColor = new(ConsoleColor.Red); private readonly object syncRoot = new(); private bool _showLog = Settings.Default.Logger.ConsoleOutput;