RF24Log
0.1.3
Unified logging library
|
class that holds the RF24Log's in-house printf-like parsing More...
#include <PrintfParser.h>
Protected Member Functions | |
void | write (uint8_t logLevel, const char *vendorId, const char *message, va_list *args) |
![]() | |
virtual void | appendTimestamp ()=0 |
output a timestamp | |
void | appendLogLevel (uint8_t logLevel) |
output a description of the log level More... | |
void | descTimeLevel (uint8_t logLevel) |
Automate the output of the header' timestamp and level description. More... | |
void | appendFormat (FormatSpecifier *fmt_parser, va_list *args) |
output a data according to the format specifier More... | |
virtual void | appendChar (char data, uint16_t depth=1)=0 |
append a character a number of times More... | |
virtual void | appendInt (long data)=0 |
append a signed (+/-) number More... | |
virtual void | appendUInt (unsigned long data, uint8_t base=10)=0 |
append an ‘unsigned’ (only +) number More... | |
virtual void | appendDouble (double data, uint8_t precision=2)=0 |
append a floating point number More... | |
virtual void | appendStr (const char *data)=0 |
append a c-string More... | |
Additional Inherited Members | |
![]() | |
RF24LogAbstractHandler () | |
Sets log level to INFO upon instantiation. | |
void | log (uint8_t logLevel, const char *vendorId, const char *message, va_list *args) |
log a message. More... | |
void | setLogLevel (uint8_t logLevel) |
![]() | |
uint8_t | _logLevel |
class that holds the RF24Log's in-house printf-like parsing
Definition at line 24 of file PrintfParser.h.
|
protectedvirtual |
write log message to its destination
logLevel | The level of the logging message |
vendorId | The prefixed origin of the message |
message | The message |
args | The sequence of variables used to replace the format specifiers in the same order for which they appear in the message |
Implements RF24LogAbstractHandler.
Definition at line 99 of file PrintfParser.cpp.