Package-level declarations
Types
Link copied to clipboard
Sink that appends strings to an Appendable, one line per emit.
Link copied to clipboard
Sink that writes snapshots using toString to stdout.
Link copied to clipboard
Type alias for sinks that consume MetricsSnapshot.
Functions
Link copied to clipboard
Link copied to clipboard
fun LoggingJsonMetricsSink(json: Json, logger: StoreLogger = PlatformStoreLogger, level: StoreLogLevel = StoreLogLevel.Trace, tag: String = "Metrics"): MetricsSink
Ready-to-use JSON sink that logs via StoreLogger (PlatformStoreLogger by default).
Link copied to clipboard
fun StoreLoggerSink(logger: StoreLogger = PlatformStoreLogger, level: StoreLogLevel = StoreLogLevel.Trace, tag: String = "Metrics"): Sink<String>
Sink that logs strings through a StoreLogger (defaults to PlatformStoreLogger).