Add serial log levels

This commit is contained in:
2026-06-04 02:04:54 -06:00
parent 94687abbf4
commit f29acd75ee
4 changed files with 76 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <Arduino.h>
enum LogLevel {
LOG_QUIET = 0,
LOG_INFO = 1,
LOG_DEBUG = 2
};
extern LogLevel currentLogLevel;
void setLogLevel(LogLevel level);
void logInfo(const String& message);
void logDebug(const String& message);