HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
Debug

This module contains the helper functions to aid in debugging HAN-FUN applications. More...

Namespaces

 HF
 Top-level namespace for the HAN-FUN library.
 

Macros

#define NL   std::endl;std::cout.clear();std::cerr.clear()
 Helper define for new-line and stream clear.
 
#define HF_LOG_LEVEL_NONE   0
 No debug messages will be displayed. More...
 
#define HF_LOG_LEVEL_ERROR   1
 Only error messages will be displayed. More...
 
#define HF_LOG_LEVEL_WARN   2
 Display warning and error messages. More...
 
#define HF_LOG_LEVEL_INFO   3
 Display information, warning and error messages. More...
 
#define HF_LOG_LEVEL_DEBUG   4
 Display debug, information, warning and error messages. More...
 
#define HF_LOG_LEVEL_TRACE   5
 Display all messages. More...
 
#define LOG(X)   X
 Log messages with the level given by X.
 

Detailed Description

This module contains the helper functions to aid in debugging HAN-FUN applications.

Macro Definition Documentation

◆ HF_LOG_LEVEL_DEBUG

#define HF_LOG_LEVEL_DEBUG   4

Display debug, information, warning and error messages.

Definition at line 40 of file debug.h.

◆ HF_LOG_LEVEL_ERROR

#define HF_LOG_LEVEL_ERROR   1

Only error messages will be displayed.

Definition at line 37 of file debug.h.

◆ HF_LOG_LEVEL_INFO

#define HF_LOG_LEVEL_INFO   3

Display information, warning and error messages.

Definition at line 39 of file debug.h.

◆ HF_LOG_LEVEL_NONE

#define HF_LOG_LEVEL_NONE   0

No debug messages will be displayed.

Definition at line 36 of file debug.h.

◆ HF_LOG_LEVEL_TRACE

#define HF_LOG_LEVEL_TRACE   5

Display all messages.

Definition at line 41 of file debug.h.

◆ HF_LOG_LEVEL_WARN

#define HF_LOG_LEVEL_WARN   2

Display warning and error messages.

Definition at line 38 of file debug.h.