You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During trying out #910, I noticed that the decoded output contained extra spaces after the log level, e.g. "INFO Hello, World!" instead of "INFO Hello, World!". This seems to be added by defmt-print, as the implementation of qemu-run which decodes it straight away handles it correctly, producing only one space.
to produce frames, and then piped this into defmt-print -e ../target/thumbv7m-none-eabi/debug/log.
Also tried (with the same issue) writing to a file first and then cat that into defmt-print, modifying qemu-run (as suggested in #876) to output undecoded, and using a direct pipe as well as into a file first. I Think due to these tests that the issue is somewhere with defmt-print, rather than the frames being produced, or I would expect the same behaviour in qemu-run.
The text was updated successfully, but these errors were encountered:
I believe log levels are always padded with spaces so they are always 5 characters long. Otherwise you'd get jagged text alignment on the messages themselves.
During trying out #910, I noticed that the decoded output contained extra spaces after the log level, e.g. "INFO Hello, World!" instead of "INFO Hello, World!". This seems to be added by defmt-print, as the implementation of qemu-run which decodes it straight away handles it correctly, producing only one space.
Command I ran was
to produce frames, and then piped this into
defmt-print -e ../target/thumbv7m-none-eabi/debug/log
.Also tried (with the same issue) writing to a file first and then cat that into defmt-print, modifying qemu-run (as suggested in #876) to output undecoded, and using a direct pipe as well as into a file first. I Think due to these tests that the issue is somewhere with defmt-print, rather than the frames being produced, or I would expect the same behaviour in qemu-run.
The text was updated successfully, but these errors were encountered: