RF24Log
0.1.3
Unified logging library
|
This is the end-user's access point into the world of logging messages. More...
#include <RF24Logging.h>
Public Member Functions | |
RF24Logging () | |
Initializes the handler to nullptr. | |
void | setHandler (RF24LogBaseHandler *handler) |
set the instance's handler More... | |
void | log (uint8_t logLevel, const char *vendorId, const char *message,...) |
output a log message of any level More... | |
This is the end-user's access point into the world of logging messages.
Definition at line 92 of file RF24Logging.h.
void RF24Logging::log | ( | uint8_t | logLevel, |
const char * | vendorId, | ||
const char * | message, | ||
... | |||
) |
output a log message of any level
logLevel | the level of the logging message |
vendorId | A scoping identity of the message's origin |
message | The message format string. Review the supported format spcifiers. |
... | the sequence of variables used to replace the format specifiers in the same order for which they appear in the message |
Definition at line 32 of file RF24Logging.cpp.
void RF24Logging::setHandler | ( | RF24LogBaseHandler * | handler | ) |
set the instance's handler
handler | The log handler where the messages will be redirected. |
Definition at line 25 of file RF24Logging.cpp.