Skip to content

Commit

Permalink
Merge pull request #3873 from GrimmGringo/master
Browse files Browse the repository at this point in the history
Added missing ;
  • Loading branch information
GrimmGringo committed Aug 9, 2016
2 parents 6c52dde + 5779a79 commit aeb7b0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PoGo.NecroBot.CLI/ConsoleLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ public void Write(string message, LogLevel level = LogLevel.Info, ConsoleColor c
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}] ({LoggingStrings.Update}) {message}");
break;
case LogLevel.New:
Console.ForegroundColor = ConsoleColor.Black ? ConsoleColor.Green : color;
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.Green : color;
Console.WriteLine( $"[{DateTime.Now.ToString( "HH:mm:ss" )}] ({LoggingStrings.New}) {message}" );
break;
case LogLevel.SoftBan:
Console.ForegroundColor = ConsoleColor.Black ? ConsoleColor.DarkRed : color;
Console.ForegroundColor = color == ConsoleColor.Black ? ConsoleColor.DarkRed : color;
Console.WriteLine($"[{DateTime.Now.ToString("HH:mm:ss")}] ({LoggingStrings.SoftBan}) {message}");
break;
default:
Expand Down

0 comments on commit aeb7b0f

Please sign in to comment.