feat: logging service

This commit is contained in:
2025-09-16 10:10:23 +02:00
parent 6a30dc0dc1
commit 8a2988cb50
20 changed files with 676 additions and 101 deletions

View File

@@ -1,5 +1,6 @@
#include <Arduino.h>
#include "spore/Spore.h"
#include "spore/services/LoggingService.h"
// Create Spore instance
Spore spore;
@@ -11,8 +12,8 @@ void setup() {
// Start the framework (this will start the API server with static file serving)
spore.begin();
Serial.println("Static web server started!");
Serial.println("Visit http://<node-ip>/ to see the web interface");
LOG_INFO(spore.getContext(), "Example", "Static web server started!");
LOG_INFO(spore.getContext(), "Example", "Visit http://<node-ip>/ to see the web interface");
}
void loop() {