TraceFeatureMessageLogWriter
Parameters
The logger to write trace events to
The log level to use for trace events (default: INFO)
Optional custom formatter for trace events
Initializes an instance of TraceFeatureMessageLogWriter.
Parameters
The KLogger instance to output trace logs.
The log level used for trace events. Defaults to LogLevel.INFO.
A lambda function for custom formatting of FeatureMessage into a loggable string, or null to use a default format.
Creates an instance with the specified logger, log level, and optional message formatter.
Parameters
The KLogger instance used for logging feature messages.
The level at which messages will be logged. Defaults to LogLevel.INFO.
An optional lambda used to format FeatureMessage instances into strings for logging. If not provided, a default implementation will be used.