CartoDB-SQL-API/batch/batch-logger.js
2018-06-18 18:47:12 +02:00

17 lines
259 B
JavaScript

'use strict';
const Logger = require('../app/services/logger');
class BatchLogger extends Logger {
constructor (path, name) {
super(path, name);
}
log (job) {
return job.log(this.logger);
}
}
module.exports = BatchLogger;