smartlog-destination-file/ts/index.ts

15 lines
410 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) {
}
constructor() {
const fileStream = plugins.fs.createWriteStream(plugins.path.join(paths.nogitDir, 'output.txt'), {
flags: 'a+'
});
}
}