Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
#42 added color option to ConsoleOutLoggerFactoryAdapter #43
and 1 other
commented on an outdated diff
Mar 4, 2014
|@@ -61,6 +96,25 @@ protected override void WriteInternal(LogLevel level, object message, Exception|
|FormatOutput(sb, level, message, e);|
|// Print to the appropriate destination|
|+ if (this.useColor)|
|+ var originalColor = Console.ForegroundColor;|
|+ ConsoleColor color = originalColor;|
|+ colors.TryGetValue(level, out color);|