update dependencies
[websub-hub] / src / logger / index.js
1 'use strict';
2
3 const BaseLogger = require('@squeep/logger-json-console');
4 const dataSanitizers = require('./data-sanitizers');
5
6 class Logger extends BaseLogger {
7 constructor(options, ...args) {
8 super(options, ...args);
9 Array.prototype.push.apply(this.dataSanitizers, Object.values(dataSanitizers));
10 }
11 }
12
13 module.exports = Logger;