Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WriteStyle is ignored when used with Target::Pipe #274

Closed
miraclx opened this issue Aug 9, 2023 · 0 comments · Fixed by #298 or #302
Closed

WriteStyle is ignored when used with Target::Pipe #274

miraclx opened this issue Aug 9, 2023 · 0 comments · Fixed by #298 or #302
Milestone

Comments

@miraclx
Copy link

miraclx commented Aug 9, 2023

The patch #239, while addressing issue #208 made it so we can write to a custom sink without being in a test context.

The unfortunate downside of that implementation is it disregards the WriteStyle specification.

No colors when piping to a custom sink is an acceptable default, but when the user specifies WriteStyle::Always, we should have colors written into our sink.

@epage epage added this to the 0.11 milestone Nov 10, 2023
epage added a commit to epage/env_logger that referenced this issue Jan 18, 2024
epage added a commit to epage/env_logger that referenced this issue Jan 18, 2024
epage added a commit to epage/env_logger that referenced this issue Jan 18, 2024
epage added a commit to epage/env_logger that referenced this issue Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants