smartlog-destination-file/ts/index.ts
2020-06-13 11:03:08 +00:00

15 lines
410 B
TypeScript

import * as plugins from './smartfile-destination-file.plugins';
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+'
});
}
}