Weather used wrong logger

This commit is contained in:
Martin Donnelly 2018-04-15 23:03:57 +01:00
parent ce3621680a
commit bf5a5e817a

View File

@ -1,7 +1,6 @@
const Client = require('request-json');
const { log4js } = require('./lib/logger');
const logger = log4js.getLogger('Weather');
const logger = require('log4js').getLogger('Weather');
const weather = require('openweather-apis');
const { reduceWeather } = require('./reducers/weather');
const request = require('request');