RF24Log  0.1.3
Unified logging library
Enumerations
Log Levels

Order of logging levels. More...

Enumerations

enum  RF24LogLevel : uint8_t {
  OFF = 0 , ERROR = 010 , WARN = 020 , INFO = 030 ,
  DEBUG = 040 , ALL = 0xFF
}
 the predefined logging levels More...
 

Detailed Description

Order of logging levels.

Enumeration Type Documentation

◆ RF24LogLevel

enum RF24LogLevel : uint8_t

the predefined logging levels

These named levels are the base or parent levels. They increment in in octal counts of 010. Each base level can have up to 7 additional sublevels.
For example:

  • a level of 031 is the first sublevel of INFO verbosity
  • a level of 037 is the last sublevel of INFO verbosity

If the log level is configured (using RF24LogBaseHandler::setLogLevel()) for a verbosty of 020 prevents outputting all messages designated for any log level greater than 020.

Enumerator
OFF 

(0) the level to disable all log messages

ERROR 

(010) the level to specify an error message

WARN 

(020) the level to specify an warning message

INFO 

(030) the level to specify an informational message

DEBUG 

(040) the level to specify an debugging message

ALL 

(0377 or 0xFF) the level to enable all log messages (disables filtering of levels)

Definition at line 38 of file RF24LogLevel.h.