Constructors
constructor
- new RotatingFileStream(filePath: string, writeImmediately?: boolean, options?: Options): RotatingFileStream
-
Parameters
-
filePath: string
-
Optional writeImmediately: boolean
-
Optional options: Options
Methods
write
- write(message: string): void
-
Returns void
A wrapper for the
rfsmodule that will optionally write to disk immediately by creating and closing a new stream on each write.