smartlog-destination-file/ts/index.ts

15 lines
414 B
TypeScript
Raw Normal View History

2020-06-13 10:43:02 +00:00
import * as plugins from './smartfile-destination-file.plugins';
2020-06-13 11:03:08 +00:00
export class SmartlogDestinationFile implements plugins.smartlogInterfaces.ILogDestination {
public async handleLog (logPackageArg: plugins.smartlogInterfaces.ILogPackage) {
2020-06-13 11:04:01 +00:00
2020-06-13 11:03:08 +00:00
}
constructor() {
const fileStream = plugins.fs.createWriteStream(plugins.path.join(paths.nogitDir, 'output.txt'), {
flags: 'a+'
});
}
}