flutter / flutter/devtools

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

Abierto
#9,596 0 comentarios 0 reacciones 0 asignados Ver en GitHub
P2 screen: logging
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart
Área
devtools, observability
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.