Skip to content

Flutter Web truncates logs written with dart:developer #3222

Closed
@tomasweigenast

Description

@tomasweigenast

Its simple, Flutter Web truncates log messages written to the console using dart:developer. Something that should not happen.

This is what gets printed:
[LOG] [26/03/2021 19:35:19] [DEBUG] Sending POST request…ccount/login with parameters null. Body: true

Can you notice the ... in the middle of the text?

If I log the same line in a mobile app, that does not happen

Flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 2.1.0-12.2.pre, on Microsoft Windows [Versión 10.0.18363.1440], locale es-AR)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code (version 1.54.3)
[√] Connected device (3 available)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3issues we think are valid but not importantblockedIssue or PR is blocked on another issue or PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions