flutter / flutter/devtools

Logging does not display structured log details if a message exceeds certain amount of symbols

Aperta
#9,596 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
P2 screen: logging
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

I log results from my service calls using `dart:developer.log`. From my assumption, `DevTools` fails to display structured log details whenever message of a log exceeds certain amount of symbols.

Smaller logs are displayed as expected, with details presented:

Image

However, if I try to log JWT token (1391 symbols) , the `Details` section will display just the message string

Image

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the issue in DevTools with dart:developer.log using a structured message longer than the reported 1,391 symbols, then compare it with a shorter log. Trace the logging and Details display path to find where the longer message loses its structured data. Done means structured log details remain visible for messages beyond the reported length.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart
Ambito
devtools, observability
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.