wrap a file stream as a extremely high performance log stream.
$ npm i @fibjs/logstream --save
const fs = require('fs');
const LogStream = require('@fibjs/logstream');
const fd = fs.open('path to log file', 'w');
const bf = new LogStream(fd);
bf.writeText('some log');
bf.writeLine('new line log');
bf.end();// close the log stream.
Please open an issue here.