mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
add some memory diagnostics
This commit is contained in:
1 parent
56aaf595b4
commit
e7b2c6e756
14 files changed
+54
-20
No files matched your search
+1
-1
@@ -24,6 +24,6 @@ class GwLog{
|
||||
void logDebug(int level, const char *fmt,...);
|
||||
int isActive(int level){return level <= logLevel;};
|
||||
};
|
||||
#define LOG_DEBUG(level,...){ if (logger->isActive(level)) logger->logDebug(level,__VA_ARGS__);}
|
||||
#define LOG_DEBUG(level,...){ if (logger != NULL && logger->isActive(level)) logger->logDebug(level,__VA_ARGS__);}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user