Impl DEEP_DEBUG log level

This commit is contained in:
h3cx committed 2026-03-22 23:24:50 +01:00
1 parent faf4cae642
commit 1c1f155ce0
2 files changed
+11

No files matched your search

+1
View File
@@ -2,3 +2,4 @@
#define WARN
#define ERROR
#define DEBUG
#define DEEP_DEBUG
+10
View File
@@ -25,6 +25,10 @@ public:
#ifdef DEBUG
int debug(String message);
#endif
#ifdef DEEP_DEBUG
int deep_debug(String message);
#endif
};
system_logger::system_logger(HardwareSerial *output)
@@ -69,3 +73,9 @@ int system_logger::debug(String message) {
return this->print_message(" [DEBUG] ", message);
}
#endif
#ifdef DEEP_DEBUG
int system_logger::deep_debug(String message) {
return this->print_message(" [DEEP_DEBUG] ", message);
}
#endif