RF24Log
0.1.3
Unified logging library
|
simple helper macros for user access to logging output via the rf24Logging object. More...
Classes | |
class | RF24Logging |
This is the end-user's access point into the world of logging messages. More... | |
Macros | |
#define | RF24Log_error(vendorId, message, ...) (rf24Logging.log(RF24LogLevel::ERROR, vendorId, message, ##__VA_ARGS__)) |
ouput an ERROR message More... | |
#define | RF24Log_warn(vendorId, message, ...) (rf24Logging.log(RF24LogLevel::WARN, vendorId, message, ##__VA_ARGS__)) |
output a message to WARN the reader More... | |
#define | RF24Log_info(vendorId, message, ...) (rf24Logging.log(RF24LogLevel::INFO, vendorId, message, ##__VA_ARGS__)) |
output an INFO message More... | |
#define | RF24Log_debug(vendorId, message, ...) (rf24Logging.log(RF24LogLevel::DEBUG, vendorId, message, ##__VA_ARGS__)) |
output a message to help developers DEBUG their source code More... | |
#define | RF24Log_log(logLevel, vendorId, message, ...) (rf24Logging.log(logLevel, vendorId, message, ##__VA_ARGS__)) |
output a log message of any level More... | |
Variables | |
RF24Logging | rf24Logging |
the singleton used for all your program's logging purposes. More... | |
simple helper macros for user access to logging output via the rf24Logging object.
#define RF24Log_debug | ( | vendorId, | |
message, | |||
... | |||
) | (rf24Logging.log(RF24LogLevel::DEBUG, vendorId, message, ##__VA_ARGS__)) |
output a message to help developers DEBUG their source code
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 77 of file RF24Logging.h.
#define RF24Log_error | ( | vendorId, | |
message, | |||
... | |||
) | (rf24Logging.log(RF24LogLevel::ERROR, vendorId, message, ##__VA_ARGS__)) |
ouput an ERROR 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 50 of file RF24Logging.h.
#define RF24Log_info | ( | vendorId, | |
message, | |||
... | |||
) | (rf24Logging.log(RF24LogLevel::INFO, vendorId, message, ##__VA_ARGS__)) |
output an INFO 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 68 of file RF24Logging.h.
#define RF24Log_log | ( | logLevel, | |
vendorId, | |||
message, | |||
... | |||
) | (rf24Logging.log(logLevel, vendorId, message, ##__VA_ARGS__)) |
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 88 of file RF24Logging.h.
#define RF24Log_warn | ( | vendorId, | |
message, | |||
... | |||
) | (rf24Logging.log(RF24LogLevel::WARN, vendorId, message, ##__VA_ARGS__)) |
output a message to WARN the reader
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 59 of file RF24Logging.h.
|
extern |
the singleton used for all your program's logging purposes.
the singleton used for all your program's logging purposes.
Definition at line 61 of file RF24Logging.cpp.