ReadMetadata

sealed interface ReadMetadata

Additional data associated with a log. It's important that Logger instances do NOT hold onto references to ReadMetadata arguments after the function returns. If a ReadMetadata reference must be kept after function return, create a copy.

Inheritors

Functions

Link copied to clipboard
abstract fun copy(): ReadMetadata
Link copied to clipboard
abstract operator fun <T : Any> get(key: Key<T>): T?
Link copied to clipboard
abstract fun <K : Key<T>, T : Any> getAll(clazz: KClass<out K>): Map<K, T>