26 lines
354 B
C
26 lines
354 B
C
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
|
|
enum class FilamentGuardLogLevel
|
|
{
|
|
Info,
|
|
Error
|
|
};
|
|
|
|
struct FilamentGuardLogEntry
|
|
{
|
|
String deviceId;
|
|
String hostname;
|
|
String firmwareVersion;
|
|
|
|
FilamentGuardLogLevel level;
|
|
|
|
String category;
|
|
String message;
|
|
String data;
|
|
String tagUid;
|
|
|
|
unsigned long uptimeMilliseconds = 0;
|
|
};
|