Automaticke ukladani formatovacich retezcu do PROGMEM. Verze 0.0.6.
This commit is contained in:
parent
67a93dbeab
commit
11fcc3546c
@ -12,7 +12,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.xpablo.cz/pablo2048/Trace.git"
|
"url": "https://git.xpablo.cz/pablo2048/Trace.git"
|
||||||
},
|
},
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "arduino",
|
"frameworks": "arduino",
|
||||||
"platforms": ["espressif8266","espressif32"],
|
"platforms": ["espressif8266","espressif32"],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=Trace
|
name=Trace
|
||||||
version=0.0.4
|
version=0.0.6
|
||||||
author=Pavel Brychta
|
author=Pavel Brychta
|
||||||
maintainer=Pavel Brychta
|
maintainer=Pavel Brychta
|
||||||
sentence=Trace application internals & messages via web server
|
sentence=Trace application internals & messages via web server
|
||||||
|
@ -125,7 +125,8 @@ void trace_forceupdate();
|
|||||||
#define TOSTRING(x) STRINGIFY(x)
|
#define TOSTRING(x) STRINGIFY(x)
|
||||||
|
|
||||||
#define TRACEPLUS(when, severity, ...) if (when != 0) TRACE(severity, __VA_ARGS__)
|
#define TRACEPLUS(when, severity, ...) if (when != 0) TRACE(severity, __VA_ARGS__)
|
||||||
#define TRACE(severity, ...) trace_print(severity, __VA_ARGS__)
|
//#define TRACE(severity, ...) trace_print(severity, __VA_ARGS__)
|
||||||
|
#define TRACE(severity, text, ...) trace_print(severity, PSTR(text), ##__VA_ARGS__)
|
||||||
#define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__)
|
#define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__)
|
||||||
#define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size)
|
#define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size)
|
||||||
#define TRACE_INIT(a) trace_init()
|
#define TRACE_INIT(a) trace_init()
|
||||||
|
Loading…
Reference in New Issue
Block a user