Skip to content

Spike - investigate how to enable/disable tracing on a per-module basis #31

Description

@Notgnoshi

Motivated by #12 (comment)

Having optional tracing is great, but as the project grows, adding tracing around everything will get quite verbose. We should find a way to let a developer enable tracing only for the modules they want.

We'd probably want to use https://docs.rs/tracing-subscriber/0.3.18/tracing_subscriber/#layers-and-filters for this?

Would this be defined entirely in user code? Or are there hooks we have to provide in the library itself? Regardless, we'll want to provide documentation to show users/developers how to adjust things.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions