Skip to content

Logs print too much for byte buffers (e.g. [u8, N], vec<u8>) #2761

@mattkur

Description

@mattkur

We often use the debug sigil ? in tracing. For types that contain byte buffers, this expands out to [b, b, b, b, b, ... ] or vec([b, b, b, b...]). This would be okay, except that logging from OpenHCL is very slow. For example, logging over the COM3 serial port takes 3 intercepts per written byte.

So, figure out how to compact this output to take fewer bytes in the byte stream...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions