Skip to content

Global logger for defmt #103

Description

@krokosik

The logging example is nice and all, but in actual use cases, it seems to me that there is no access to the sender object from within for example blocking handlers. Most existing code relies on defmt for logging and it would be nice to define a global handler and not pass around the sender object. I'm fairly new to embedded Rust, so before attempting a deep dive into defmt and postcard-rpc internals, I figured I'd ask as it seems to me like something somebody could have thought about.

So, is there anything that would make it impossible, difficult or plainly pointless?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Q2 '25 TriageItems tracked as part of https://github.com/jamesmunns/postcard/issues/241

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions