MaskedMetadataByLevel

data class MaskedMetadataByLevel(val key: String, val value: String, val level: LogLevel) : Metadata(source)

Represents masked metadata with a specific level of confidentiality.

Constructors

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

Properties

Link copied to clipboard
val key: String

The key of the metadata.

Link copied to clipboard

The level of confidentiality associated with 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. The string representation is the value property of the object.