HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
debug.h File Reference

This file contains the prototypes of the debug functionality in HAN-FUN. More...

#include <iostream>
#include <iomanip>
+ Include dependency graph for debug.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 HF
 Top-level namespace for the HAN-FUN library.
 
 HF::Debug
 Top-level namespace for debug helper functions.
 

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 file contains the prototypes of the debug functionality in HAN-FUN.

Version
1.5.3

For licensing information, please see the file 'LICENSE' in the root folder.

Initial development by Bithium S.A. [http://www.bithium.com]

Definition in file debug.h.