More console -> Logger conversions

This commit is contained in:
rejas
2020-05-31 22:12:26 +02:00
parent 2330b166f6
commit 008ac2876b
6 changed files with 30 additions and 28 deletions

View File

@@ -4,7 +4,7 @@
* By Michael Teeuw https://michaelteeuw.nl
* MIT Licensed.
*/
const Log = require("../../../js/logger.js");
const ical = require("./vendor/ical.js");
const moment = require("moment");
@@ -436,7 +436,7 @@ var CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEntr
* Broadcast the existing events.
*/
this.broadcastEvents = function () {
console.info("Broadcasting " + events.length + " events.");
Log.info("Broadcasting " + events.length + " events.");
eventsReceivedCallback(self);
};