Skip to content

Improve console/logging support #1546

@rfwatson

Description

@rfwatson

Describe the feature you'd like

Improved integration with console/logging in the browser, especially:

  • ability to console.log any JsValue*, without pre-encoding to a &str in Rust
  • support for variadic args when logging

*or the std_web equivalent, if possible

Is your feature request related to a problem? Please describe. (Optional)

Debugging large objects (e.g. arrays containing audio data) is painful from Rust right now

Describe alternatives you've considered (Optional)

N/A

Additional context (Optional)

N/A

Questionnaire

  • I'm interested in implementing this myself but don't know where to start
  • I would like to add this feature
  • I don't have time to add this right now, but maybe later

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions