1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update logging

This commit is contained in:
Luke Pulverenti 2015-12-21 13:00:07 -05:00
parent 4c0ac8e795
commit 0b318b6cb2
20 changed files with 85 additions and 85 deletions

View file

@ -1060,7 +1060,7 @@ var Dashboard = {
case 'SetRepeatMode':
break;
default:
Logger.log('Unrecognized command: ' + cmd.Name);
console.log('Unrecognized command: ' + cmd.Name);
break;
}
},
@ -2577,7 +2577,7 @@ pageClassOn('pageshow', "page", function () {
if (!isConnectMode && this.id !== "loginPage" && !page.classList.contains('forgotPasswordPage') && !page.classList.contains('forgotPasswordPinPage') && !page.classList.contains('wizardPage') && this.id !== 'publicSharedItemPage') {
Logger.log('Not logged into server. Redirecting to login.');
console.log('Not logged into server. Redirecting to login.');
Dashboard.logout();
return;
}
@ -2604,7 +2604,7 @@ window.addEventListener("beforeunload", function () {
});
if (!localActivePlayers.length) {
Logger.log('Sending close web socket command');
console.log('Sending close web socket command');
apiClient.closeWebSocket();
}
}