Implemented READLOGFILE client-side

This commit is contained in:
Carlos
2020-02-22 18:06:26 +01:00
parent 8ebac6a33d
commit b7e1478991
7 changed files with 42 additions and 35 deletions

View File

@ -79,5 +79,12 @@ class WebConsoleManager {
this.activeConnection.sendToServer("CPUUSAGE");
this.activeConnection.sendToServer("RAMUSAGE");
}
/**
* Asks server for full latest.log
*/
askForLogs(){
this.activeConnection.sendToServer("READLOGFILE");
}
}