mirror of
https://github.com/dg9vh/MMDVMHost-Websocketboard.git
synced 2026-04-17 20:33:59 +00:00
Added logtailer-errormessage
Pushing Error-Messages (exceptions) from Logtailer into the Javascript Console. Fixing some issue with utf-8 format in logfiles. closed https://github.com/dg9vh/MMDVMHost-Websocketboard/issues/4
This commit is contained in:
parent
10dda8f3bb
commit
2253eb9ee7
2 changed files with 10 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ var messagecount = 0;
|
|||
// M: 2020-11-07 15:41:22.601 DMR Slot 1, received network late entry from DO5DC to TG 262810
|
||||
|
||||
function logIt(message) {
|
||||
if (debug == 1) {
|
||||
if (debug == 1 || message.startsWith("Logtailer-Errormessage:")) {
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue