Skip to content

Ability to control log output in wit-bindgen-go #212

@vados-cosmonic

Description

@vados-cosmonic

Hey all, when running wit-bindgen-go I'd like the ability to be able to silence/control the output.

I'm particularly thinking about the use case of a dev tool whose output looks something like this:

starting build...
<build output, which happens to include wasm-tools-go output>
build complete
[hint] access your X at Y!

At present, the build output gets quite lengthy and would grow with the complexity of the project/amount of work wasm-tools-go is doing.

It's possible to implement suppression of output at the (higher) dev tool level, but it might be a bit more convenient if wit-bindgen-go could control logging levels and/or silence by default and let people opt in to more verbose output?

I asked around and it seems like the place to land changes would be in wit-bindgen-go -- does that sound reasonable?

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