SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
e
h
i
k
l
m
n
p
q
r
s
t
u
v
Files
File List
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
include
testing
spsp
testing/spsp/logger.hpp
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <cstdio>
13
14
#define SPSP_LOGE(fmt, ...) fprintf(stderr, "\033[0;31m[E] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__)
15
#define SPSP_LOGW(fmt, ...) fprintf(stderr, "\033[0;33m[W] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__)
16
#define SPSP_LOGI(fmt, ...) fprintf(stderr, "\033[0;36m[I] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__)
17
#define SPSP_LOGD(fmt, ...) fprintf(stderr, "\033[0;34m[D] %s: " fmt "\n\033[0m", SPSP_LOG_TAG, ##__VA_ARGS__)
Generated by
1.8.17