Skip to content

Target::Pipe doesn't work #208

Closed
Closed
@oxalica

Description

@oxalica

In #204, we introduce Target::Pipe to redirect log messages into custom writer. And it's included in 0.8.4 now.
But when I try the example in that PR, it doesn't print the message from pipe at all, and not even call WriteAdapter::write. The log::error message just go straight to stderr.
How to make it catch all log message into my custom writer object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions