mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
WebStatus:add syslog count/fail, show only enabled services
This commit is contained in:
12
src/system.h
12
src/system.h
@@ -77,6 +77,18 @@ class System {
|
||||
bool heartbeat_json(JsonObject & output);
|
||||
void send_heartbeat();
|
||||
|
||||
bool syslog_enabled() {
|
||||
return syslog_enabled_;
|
||||
}
|
||||
|
||||
unsigned long syslog_count() {
|
||||
return syslog_.message_count();
|
||||
}
|
||||
|
||||
unsigned long syslog_fails() {
|
||||
return syslog_.message_fails();
|
||||
}
|
||||
|
||||
void led_init(bool refresh);
|
||||
void network_init(bool refresh);
|
||||
void button_init(bool refresh);
|
||||
|
||||
Reference in New Issue
Block a user