nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.1k stars 1.32k forks source link

Add log repeater output port for RAM log #2944

Open timcanham opened 1 month ago

timcanham commented 1 month ago
F´ Version v3.4.3
Affected Component /Svc/ActiveLogger

Feature Description

Add a port that repeats any event log calls if connected on the thread of the caller. Companion to #2945.

Rationale

Instead of building in recoverable RAM buffers into ActiveLogger itself, following the F Prime "tinkertoy" approach, have an external component that does the RAM logging. That allows users to add or remove the RAM logging by adding a component.

timcanham commented 1 month ago

Alternatively, the component in #2945 could be put in the topology before Svc/ActiveLogger and leave it unchanged.