@seagull/logging
Version:
Logging utilities for the Seagull Framework
15 lines • 395 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const stream_1 = require("stream");
class Stash extends stream_1.Writable {
constructor() {
super({ objectMode: true });
this.buffer = [];
}
_write(msg, encoding, callback) {
this.buffer.push(msg);
callback();
}
}
exports.Stash = Stash;
//# sourceMappingURL=stash.js.map