PrivateMetadata

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

Data class representing private metadata. It extends the Metadata class.

Constructors

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

Creates a new instance of the PrivateMetadata class.

Properties

Link copied to clipboard
val key: String

The key of the metadata.

Link copied to clipboard

The value of the metadata.

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

Returns a string representation of the object. In this case, it returns the value of the metadata.