Skip to content

receive log messages from the injected client instead of the chrome console #1619

Closed
@annagrin

Description

@annagrin

Currently we send log messages to chrome console where they can get truncated, so dwds never receives a full message and cannot communicate it to the users. We should send a log event with the full message to the dwds's injected client instead, similar to what we already do for postEvent and registerExtension methods.

On dwds side, we need to make sure the injected client receives those messages and sends them to dwds. Dwds should in turn send the messages to the clients via its log channel.

See discussions in flutter/devtools#3222 and flutter/flutter#47913

Related: dart-lang/sdk#49030

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:dwds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions