Comms CCF
This is a simple communication layer based on COBS, CBOR and FNV-1A
Loading...
Searching...
No Matches
ndebug.hpp
Go to the documentation of this file.
1
12
15
16
#ifndef debugf
17
18
extern
void
ignoreVarArgs
(...);
19
23
#define debugf(...) ([&]{ if constexpr (false) { ignoreVarArgs(__VA_ARGS__); } }())
24
27
#ifndef LOGLEVEL_ARGS
28
#define LOGLEVEL_ARGS
29
#endif
30
32
#ifndef DEBUG
33
#define DEBUG
34
#endif
35
36
#ifndef INFO
37
#define INFO
38
#endif
39
40
#ifndef WARN
41
#define WARN
42
#endif
43
44
#ifndef ERROR
45
#define ERROR
46
#endif
47
49
#ifndef END
50
#define END
51
#endif
52
53
#else
54
#error debugf already defined, did you forget to `#include "debug_end.hpp"` at the end of a header?
55
#endif
ignoreVarArgs
void ignoreVarArgs(...)
comms-ccf
ndebug.hpp
Generated by
1.14.0