mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
add logging class (not working version)
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "Utils/Timings.h"
|
||||
#include "Utils/WebUtils.h"
|
||||
#include "items/ButtonInClass.h"
|
||||
#include "items/LoggingClass.h"
|
||||
//#include "RemoteOrdersUdp.h"
|
||||
#include "Bus.h"
|
||||
|
||||
@@ -95,6 +96,9 @@ void setup() {
|
||||
|
||||
just_load = false;
|
||||
initialized = true; //this second POST makes the data to be processed (you don't need to connect as "keep-alive" for that to work)
|
||||
|
||||
myLogging = new LoggingClass[1](5000, 200, "array");
|
||||
//myLogging = new LoggingClass(5000, 200, "test");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
@@ -116,4 +120,6 @@ void loop() {
|
||||
|
||||
myNotAsyncActions->loop();
|
||||
ts.update();
|
||||
|
||||
myLogging->loop();
|
||||
}
|
||||
Reference in New Issue
Block a user