Skip to content

Conversation

Bobo1239
Copy link
Contributor

Seems like this was overlooked in #298.

Test program:

fn main() {
    env_logger::builder()
        .target(env_logger::Target::Pipe(Box::new(std::io::stdout())))
        .write_style(env_logger::WriteStyle::Always)
        .init();
    log::error!("ASD");
}

Fixes #274.

@epage epage merged commit 489ba18 into rust-cli:main Jan 27, 2024
@epage
Copy link
Contributor

epage commented Jan 27, 2024

Thanks for that and sorry I missed that!

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

Successfully merging this pull request may close these issues.

WriteStyle is ignored when used with Target::Pipe
2 participants