Options for the getStreamFileSink function.
This interface configures the high-performance stream-based file sink that uses Node.js PassThrough streams for optimal I/O performance with automatic backpressure management.
highWaterMark: number
High water mark for the PassThrough stream buffer in bytes.
This controls the internal buffer size of the PassThrough stream. Higher values can improve performance for high-volume logging but use more memory. Lower values reduce memory usage but may impact performance.
formatter: TextFormatter
A custom formatter for log records.
If not specified, the default text formatter will be used, which formats records in the standard LogTape format with timestamp, level, category, and message.