mirror of
https://github.com/comatory/fb2iCal
synced 2025-01-30 17:04:48 +01:00
10 lines
207 B
JavaScript
10 lines
207 B
JavaScript
const EventEmitter = require('events')
|
|
|
|
class MockLogger extends EventEmitter {
|
|
log({ message, level, service }) {
|
|
this.emit('test:log', { message, level, service })
|
|
}
|
|
}
|
|
|
|
module.exports = MockLogger
|