RF24Log  0.1.3
Unified logging library
Public Member Functions | List of all members
RF24LogBaseHandler Class Referenceabstract

A base mechanism for handling log messages. More...

#include <RF24LogBaseHandler.h>

Inheritance diagram for RF24LogBaseHandler:
RF24LogAbstractHandler RF24LogDualHandler RF24LogPrintfParser ArduinoPrintLogger NativePrintLogger OStreamLogger

Public Member Functions

virtual void log (uint8_t logLevel, const char *vendorId, const char *message, va_list *args)=0
 log a message. More...
 
virtual void setLogLevel (uint8_t logLevel)=0
 

Detailed Description

A base mechanism for handling log messages.

Definition at line 54 of file RF24LogBaseHandler.h.

Member Function Documentation

◆ log()

virtual void RF24LogBaseHandler::log ( uint8_t  logLevel,
const char *  vendorId,
const char *  message,
va_list *  args 
)
pure virtual

log a message.

Parameters
logLevelThe level of the logging message
vendorIdThe prefixed origin of the message
messageThe message format string. Review the supported format spcifiers.
argsThe sequence of variables used to replace the format specifiers in the same order for which they appear in the message

Implemented in RF24LogAbstractHandler, and RF24LogDualHandler.

◆ setLogLevel()

virtual void RF24LogBaseHandler::setLogLevel ( uint8_t  logLevel)
pure virtual

set the maximal level of the logged messages.

Parameters
logLevelThe verbosity level used to filter which of the logged messages are output.
See also
Review the descriptions in the Log Levels

Implemented in RF24LogAbstractHandler, and RF24LogDualHandler.


The documentation for this class was generated from the following file: