Skip to content

Option to silence errors sent to stderr #41

@francesco-cattoglio

Description

@francesco-cattoglio

I have written a program that uses wgpu, and if a panic occurs I get a lot of error messages from gpu-alloc, due to this line:

eprintln!("Memory block wasn't deallocated")

Due to the high amount of messages that gpu-alloc prints, trying to understand what caused the panic in the first place can be tricky. This can be especially annoying when the console output moves previous messages so far up that they no longer show.

Do you think it might be possible to add some option to suppress or remove that output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions