TraceFeatureMessageFileWriter
Parameters
The path where feature messages will be written.
Returns a Sink for writing to the file, this class manages its lifecycle.
Optional custom formatter for trace events
Type Parameters
The type representing file paths in the file system
Parameters
The path where feature messages will be written.
A function responsible for opening a Sink for file writing. This function ensures the lifecycle of the sink is properly managed. A default sink opener is available if not provided.
An optional lambda function for customizing the formatting of FeatureMessage instances before writing them to the file. If not provided, a default formatting strategy is used.
Parameters
The file where feature messages will be written.
A lambda function that returns a Sink for writing to the file. The lifecycle of the sink is managed by this class.
An optional lambda function for custom formatting of FeatureMessage instances into their string representations. This can be used to apply specific serialization logic if required. If not provided, the default message trace representation is used.
Type Parameters
The type representing the file path supported by the file system provider.