Options for the getStreamSink function.
optional
formatter: TextFormatter
The text formatter to use. Defaults to defaultTextFormatter.
optional
encoder: { encode(text: string): Uint8Array; }
The text encoder to use. Defaults to an instance of TextEncoder.
optional
nonBlocking: boolean | { bufferSize?: number; flushInterval?: number; }
Enable non-blocking mode with optional buffer configuration. When enabled, log records are buffered and flushed in the background.