Logs viewer will now color-code logs based on type (error, warning, info, etc.)

You can also clear logs from the logs viewer as well
This commit is contained in:
Isaac Grynsztein
2020-07-05 22:17:54 -04:00
parent 990b3d4037
commit e97e9ec717
15 changed files with 120 additions and 33 deletions

View File

@@ -238,6 +238,10 @@ export class PostsService implements CanActivate {
return this.http.post(this.path + 'logs', {lines: lines}, this.httpOptions);
}
clearAllLogs() {
return this.http.post(this.path + 'clearAllLogs', {}, this.httpOptions);
}
isPinSet() {
return this.http.post(this.path + 'isPinSet', {}, this.httpOptions);
}