Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Please keep default foreground color, don't override with ConsoleColor.Grey #378

Closed
NinoFloris opened this issue Mar 4, 2016 · 11 comments
Closed
Assignees
Milestone

Comments

@NinoFloris
Copy link

Please keep default foreground color, don't override with ConsoleColor.Grey
Microsoft.Extensions.Logging.Console.ConsoleLogger:249

 return new ConsoleColors(ConsoleColor.Gray, DefaultConsoleColor);

This grey really does not do wonders on default OSX terminals (white background)

@NinoFloris NinoFloris changed the title Please keep default forefront color, don't override with ConsoleColor.Grey Please keep default foreground color, don't override with ConsoleColor.Grey Mar 4, 2016
@Eilon
Copy link
Member

Eilon commented Mar 4, 2016

Yeah we should set the foreground color only when we set the background color - that's needed to ensure readability. But for all other console writes it should be 100% default.

@NinoFloris
Copy link
Author

Exactly

@davidfowl
Copy link
Member

Fix for RC2? This is a pretty bad.

@Eilon
Copy link
Member

Eilon commented Mar 9, 2016

Yes RC2.

@muratg muratg added this to the 1.0.0-rc2 milestone Mar 9, 2016
@muratg muratg added the bug label Mar 9, 2016
@BrennanConroy
Copy link
Member

So Error, Warning, and Information are now going to be the same color as Debug/Trace?

@Eilon
Copy link
Member

Eilon commented Mar 9, 2016

The place where it renders the log level should have explicit foreground and background colors set. But then it should completely unset all colors and use the console's default foreground/background.

@BrennanConroy
Copy link
Member

Alright, what background color would we like to have for Error/Warning/Information?

@Eilon
Copy link
Member

Eilon commented Mar 11, 2016

For the "labels" use whatever seems normal 😄 is what it's doing now for those acceptable?

@BrennanConroy
Copy link
Member

They use the default background color but set the foreground color

@Eilon
Copy link
Member

Eilon commented Mar 11, 2016

Chatted with @BrennanConroy , we're on the same page.

@BrennanConroy
Copy link
Member

bc8ba8a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants