Skyward boardcore
|
#include <LogSink.h>
Public Member Functions | |
FileLogSinkBuffered () | |
![]() | |
FileLogSink () | |
FileLogSink (FILE *f) | |
void | setFile (FILE *f_) |
![]() | |
LogSink () | |
LogSink (const LogSink &)=delete | |
LogSink & | operator= (const LogSink &)=delete |
virtual | ~LogSink () |
void | log (const LogRecord &record) |
void | enable () |
void | disable () |
bool | isEnabled () |
void | setLevel (uint8_t level) |
int | getLevel () |
void | setFormatString (const std::string &format) |
Protected Member Functions | |
void | logImpl (const std::string &l) override |
Additional Inherited Members | |
![]() | |
FILE * | f |
miosix::FastMutex | mutex |
This class uses the skyward-boardcore logger in order to output strings to filesystem. It can be used for example to log error strings during flight, but use it carefully.
|
inline |
|
overrideprotectedvirtual |
Reimplemented from Boardcore::FileLogSink.
Definition at line 90 of file PrintLogger.cpp.