Skip to content

suggestion: Make directives public in env_filter #367

@AdamGS

Description

@AdamGS

My use case is using env_filter to configure another logger (pyo3_log). Right now I can only use the top-level filter but if I could access each directive in the Filter instance, it would be trivial to use it in every logger that doesn't have its own utility to parse standard directives.

If the maintainers think this is a good idea, I'm glad to do the actual work.

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