feat: logging service
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user