monolog
Version:
Log with Monolog
28 lines (20 loc) • 531 B
JavaScript
// Generated by CoffeeScript 1.6.3
;
var AbstractFormatter;
AbstractFormatter = (function() {
function AbstractFormatter() {}
AbstractFormatter.prototype.format = function(record) {
throw "not implemented";
};
AbstractFormatter.prototype.formatBatch = function(records) {
var _this = this;
return records.map(function(r) {
return _this.format(r);
}).join();
};
return AbstractFormatter;
})();
module.exports = AbstractFormatter;
/*
//@ sourceMappingURL=AbstractFormatter.map
*/