PrivateMetadataByLevel

data class PrivateMetadataByLevel(val category: LogComponent, val key: String, val value: String, val level: LogLevel) : Metadata(source)

Represents private metadata with a specific level.

Constructors

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

Properties

Link copied to clipboard

The category of the log component.

Link copied to clipboard
val key: String

The key of the metadata.

Link copied to clipboard

The level 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 the case of the toString method, it returns the value of the metadata.