SatCat5
satcat5::log::ToWriteable Class Referencefinal

Detailed Description

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.

Definition at line 94 of file log.h.

#include <log.h>

Inheritance diagram for satcat5::log::ToWriteable:
[legend]
Collaboration diagram for satcat5::log::ToWriteable:
[legend]

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::EventHandlerm_next
 

The documentation for this class was generated from the following files: