Adding logger wrapper.

Log backend messages to syslog.
fixes #135
This commit is contained in:
softsimon
2020-10-13 15:27:52 +07:00
parent cd710d1002
commit fae1347db2
15 changed files with 238 additions and 66 deletions

View File

@@ -17,7 +17,7 @@ export class AudioService {
this.audio.src = '../../../resources/sounds/' + name + '.mp3';
this.audio.load();
this.audio.play().catch((e) => {
console.log('Play sound failed', e);
console.log('Play sound failed' + e);
});
setTimeout(() => this.isPlaying = false, 100);
}