TraceFeatureMessageFileWriter

constructor(targetPath: Path, sinkOpener: (Path) -> Sink, format: (FeatureMessage) -> String? = null)(source)

Parameters

Path

The type representing file paths in the file system

targetPath

The path where feature messages will be written.

sinkOpener

Returns a Sink for writing to the file, this class manages its lifecycle.

format

Optional custom formatter for trace events