PublicMetadata

data class PublicMetadata(val key: String, val value: String) : Metadata(source)

Represents public metadata with a key-value pair.

Constructors

Link copied to clipboard
constructor(key: String, value: String)

Properties

Link copied to clipboard
val key: String

The key for the metadata.

Link copied to clipboard

The value

Functions

Link copied to clipboard
fun getValue(level: LogLevel): String

Returns the value associated with the given LogLevel.

Link copied to clipboard
open override fun toString(): String