Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Windows Android Studio log print is incomplete #45

Closed
szxv587 opened this issue Dec 16, 2021 · 4 comments
Closed

The Windows Android Studio log print is incomplete #45

szxv587 opened this issue Dec 16, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@szxv587
Copy link

szxv587 commented Dec 16, 2021

The Windows Android Studio log print is incomplete

@lukaknezic
Copy link
Contributor

Can you give me more information?
What are you using is it flutter/just dart?
What is incomplete? is printer not showing some stuff?

@lukaknezic lukaknezic self-assigned this Dec 17, 2021
@lukaknezic lukaknezic added the waiting for response Waiting for client response label Dec 17, 2021
@szxv587
Copy link
Author

szxv587 commented Dec 17, 2021

Long JSON strings do not print completely

@lukaknezic lukaknezic added bug Something isn't working and removed waiting for response Waiting for client response labels Dec 21, 2021
@paricleu
Copy link

paricleu commented Jan 4, 2022

I have also encountered this problem but it is not related to this plugin. See here.

TLDR: The full output is visible in the DevTools or you can use a workaround with debugPrint:

debugPrint(someSuperLongString, wrapWidth: 1024);

Edit:
Use PrettyDeveloperPrinter() as your logPrinter as it doesn't have this limitation because it uses developer.log
Add flutter_loggy: to your pubspec.yaml to import it.

@lukaknezic
Copy link
Contributor

Since this is not plugin issue I'm closing it.

You can also make your own printers that use debugPrint with wrapWidth if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants