Expand description
Phase 88.4 — PlatformSink + helpers.
The portable facade ships exactly ONE sink: PlatformSink.
It forwards every record to nros_platform_log_write (declared
in nros-platform-cffi / extended in Phase 88.3). Per-platform
nros-platform-<rtos> crates own the actual delivery.
Apps wanting fan-out (e.g. Platform + /rosout or stdout in a
test harness) compose their own &'static [&dyn LogSink] and
pass it to crate::init.
Structs§
- Platform
Sink - The default sink: forwards to
nros_platform_log_write.
Functions§
- default
- The default sink list: just
&PLATFORM_SINK. - nros_
platform_ ⚠log_ flush - Per-platform log flush. Default no-op on platforms that don’t buffer.
- nros_
platform_ ⚠log_ write - Per-platform log delivery (Phase 88). Declared in
<nros/platform.h>; implementor lives in eachnros-platform-<rtos>crate.