|
SatCat5
|
Copy Log messages to any Writeable interface.
SatCat5 logging system concepts.
This is the simplest logging EventHandler, often used with a designated debug UART to produce a stream of human-readable text.
The output can be directed to any Writeable interface.
#include <log.h>
Public Member Functions | |
| ToWriteable (satcat5::io::Writeable *dst) | |
| Bind this object to the designated output interface. | |
| void | log_event (s8 priority, unsigned nbytes, const char *msg) override |
Implement the EventHandler API. | |
Private Attributes | |
| satcat5::io::Writeable *const | m_dst |
| satcat5::log::EventHandler * | m_next |