|
RF24Log
0.1.3
Unified logging library
|
Module to extend the RF24LogBaseHandler mechanism for redirecting to 2 different RF24LogBaseHandler objects. More...
#include <RF24LogDualHandler.h>
Public Member Functions | |
| RF24LogDualHandler (RF24LogBaseHandler *handler1, RF24LogBaseHandler *handler2) | |
| Instance constructor. More... | |
| void | log (uint8_t logLevel, const char *vendorId, const char *message, va_list *args) |
| log a message. More... | |
| void | setLogLevel (uint8_t logLevel) |
Module to extend the RF24LogBaseHandler mechanism for redirecting to 2 different RF24LogBaseHandler objects.
Definition at line 21 of file RF24LogDualHandler.h.
| RF24LogDualHandler::RF24LogDualHandler | ( | RF24LogBaseHandler * | handler1, |
| RF24LogBaseHandler * | handler2 | ||
| ) |
Instance constructor.
| handler1 | An output stream handler |
| handler2 | An output stream handler |
Definition at line 19 of file RF24LogDualHandler.cpp.
|
virtual |
log a message.
| logLevel | The level of the logging message |
| vendorId | The prefixed origin of the message |
| message | The message format string. Review the supported format spcifiers. |
| args | The sequence of variables used to replace the format specifiers in the same order for which they appear in the message |
Implements RF24LogBaseHandler.
Definition at line 26 of file RF24LogDualHandler.cpp.
|
virtual |
set the maximal level of the logged messages.
| logLevel | The verbosity level used to filter which of the logged messages are output. |
Implements RF24LogBaseHandler.
Definition at line 42 of file RF24LogDualHandler.cpp.