F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Os/Log.hpp>
Public Member Functions | |
Log () | |
void | log (const char *fmt, POINTER_CAST a0=0, POINTER_CAST a1=0, POINTER_CAST a2=0, POINTER_CAST a3=0, POINTER_CAST a4=0, POINTER_CAST a5=0, POINTER_CAST a6=0, POINTER_CAST a7=0, POINTER_CAST a8=0, POINTER_CAST a9=0) |
Public Member Functions inherited from Fw::Logger | |
virtual void | log (const char *fmt, POINTER_CAST a0=0, POINTER_CAST a1=0, POINTER_CAST a2=0, POINTER_CAST a3=0, POINTER_CAST a4=0, POINTER_CAST a5=0, POINTER_CAST a6=0, POINTER_CAST a7=0, POINTER_CAST a8=0, POINTER_CAST a9=0)=0 |
virtual | ~Logger () |
Additional Inherited Members | |
Static Public Member Functions inherited from Fw::Logger | |
static void | logMsg (const char *fmt, POINTER_CAST a0=0, POINTER_CAST a1=0, POINTER_CAST a2=0, POINTER_CAST a3=0, POINTER_CAST a4=0, POINTER_CAST a5=0, POINTER_CAST a6=0, POINTER_CAST a7=0, POINTER_CAST a8=0, POINTER_CAST a9=0) |
static void | registerLogger (Logger *logger) |
Static logger to use when calling the above 'logMsg' function. | |
Static Public Attributes inherited from Fw::Logger | |
static Logger * | s_current_logger = nullptr |
Os::Log::Log | ( | ) |
Constructor for the Os::Log object.
Definition at line 11 of file LogPrintf.cpp.
|
virtual |
Function called on the logger to log a message. This is abstract virtual method and must be supplied by the subclass. This logger object should be registered with the Fw::Log::registerLogger function.
fmt | format string in which to place arguments |
a0 | zeroth argument. (Default: 0) |
a1 | first argument. (Default: 0) |
a2 | second argument. (Default: 0) |
a3 | third argument. (Default: 0) |
a4 | fourth argument. (Default: 0) |
a5 | fifth argument. (Default: 0) |
a6 | sixth argument. (Default: 0) |
a7 | seventh argument. (Default: 0) |
a8 | eighth argument. (Default: 0) |
a9 | ninth argument. (Default: 0) |
Implements Fw::Logger.
Definition at line 19 of file LogPrintf.cpp.