UNPKG

monolog

Version:

Log with Monolog

15 lines (10 loc) 334 B
"use strict" Abstractprocessinghandler = require './AbstractProcessingHandler' class TestHandler extends Abstractprocessinghandler constructor:-> super @records = [] write:(record,cb)-> @records.push(record.formatted) cb(undefined,@records,record,this) if cb instanceof Function module.exports=TestHandler