|
SensESP 3.4.1-alpha
Universal Signal K sensor toolkit ESP32
|
Result of a snapshot_since() query, ready to serialize for the web UI. More...
#include <sensesp/system/log_buffer.h>
Public Attributes | |
| uint32_t | session_id |
| uint32_t | next |
| bool | gap |
| std::vector< std::string > | lines |
Result of a snapshot_since() query, ready to serialize for the web UI.
session_id lets a client detect a device reboot (the sequence counter resets to 0 on boot, so a stale high cursor would otherwise stall silently). next is the cursor to send on the following poll. gap is true when the client's cursor predated the oldest retained line, i.e. some lines were evicted before the client read them.
Definition at line 66 of file log_buffer.h.
| bool sensesp::LogSnapshot::gap |
Definition at line 69 of file log_buffer.h.
| std::vector<std::string> sensesp::LogSnapshot::lines |
Definition at line 70 of file log_buffer.h.
| uint32_t sensesp::LogSnapshot::next |
Definition at line 68 of file log_buffer.h.
| uint32_t sensesp::LogSnapshot::session_id |
Definition at line 67 of file log_buffer.h.