rejoe2
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
src/utils/dbg.h
|
@ -146,6 +146,10 @@ |
|
|
}\ |
|
|
}\ |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
#define DPRINTHEAD(level, id) ({\ |
|
|
|
|
|
DPRINT(level, F("(#")); DBGPRINT(String(id)); DBGPRINT(F(") "));\ |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
#define DPRINTLN(level, str) ({\ |
|
|
#define DPRINTLN(level, str) ({\ |
|
|
switch(level) {\ |
|
|
switch(level) {\ |
|
|
case DBG_ERROR: PERRLN(str); break; \ |
|
|
case DBG_ERROR: PERRLN(str); break; \ |
|
@ -155,7 +159,6 @@ |
|
|
default: PVERBLN(str); break; \ |
|
|
default: PVERBLN(str); break; \ |
|
|
}\ |
|
|
}\ |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
/*class ahoyLog {
|
|
|
/*class ahoyLog {
|
|
|
public: |
|
|
public: |
|
|
ahoyLog() {} |
|
|
ahoyLog() {} |
|
|