Logging does not display structured log details if a message exceeds certain amount of symbols
- Vorherrschende Sprache
- Dart
- Sterne
- 1.7k
- Forks
- 404
- Ø Merge
- 6 T. 17 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
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:
However, if I try to log JWT token (1391 symbols) , the `Details` section will display just the message string
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart
- Bereich
- devtools, observability
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100