EnigmaIOT  0.9.8
Secure sensor and gateway platform based on ESP8266 and ESP32
Macros
EnigmaIOTdebug.h File Reference

Auxiliary functions for debugging over Serial. More...

#include <Arduino.h>
#include "EnigmaIoTconfig.h"

Go to the source code of this file.

Macros

#define NO_DEBUG   0
 Debug level that will give no debug output. More...
 
#define ERROR   1
 Debug level that will give error messages. More...
 
#define WARN   2
 Debug level that will give error and warning messages. More...
 
#define INFO   3
 Debug level that will give error, warning and info messages. More...
 
#define DBG   4
 Debug level that will give error, warning,info AND dbg messages. More...
 
#define VERBOSE   5
 Debug level that will give all defined messages. More...
 

Detailed Description

Auxiliary functions for debugging over Serial.

Format used on debug functions is the same as printf(). Check source code for usage examples Debug calls will be enabled or disabled automatically before compiling according defined DEBUG_LEVEL.

If DEBUG_ESP_PORT is not defined library will give no debug output at all

Version
0.9.8
Date
15/07/2021
Author
German Martin

Definition in file EnigmaIOTdebug.h.

Macro Definition Documentation

◆ DBG

#define DBG   4

Debug level that will give error, warning,info AND dbg messages.

Definition at line 28 of file EnigmaIOTdebug.h.

◆ ERROR

#define ERROR   1

Debug level that will give error messages.

Definition at line 25 of file EnigmaIOTdebug.h.

◆ INFO

#define INFO   3

Debug level that will give error, warning and info messages.

Definition at line 27 of file EnigmaIOTdebug.h.

◆ NO_DEBUG

#define NO_DEBUG   0

Debug level that will give no debug output.

Definition at line 24 of file EnigmaIOTdebug.h.

◆ VERBOSE

#define VERBOSE   5

Debug level that will give all defined messages.

Definition at line 29 of file EnigmaIOTdebug.h.

◆ WARN

#define WARN   2

Debug level that will give error and warning messages.

Definition at line 26 of file EnigmaIOTdebug.h.