Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.logger/LogLevel

LogLevel

enum LogLevel : Enum<LogLevel> , DataItemConvertible

The LogLevel enum class defines different log levels used for logging messages. Each log level is associated with an integer value that determines its priority.

Entries

TRACE
Link copied to clipboard
TRACE
DEBUG
Link copied to clipboard
DEBUG
INFO
Link copied to clipboard
INFO
WARN
Link copied to clipboard
WARN
ERROR
Link copied to clipboard
ERROR
SILENT
Link copied to clipboard
SILENT

Types

Converter
Link copied to clipboard
object Converter : DataItemConverter<LogLevel>

Properties

entries
Link copied to clipboard
val entries: EnumEntries<LogLevel>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

level
Link copied to clipboard
val level: Int

The integer value associated with the log level, used for priority comparison.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

Functions

asDataItem
Link copied to clipboard
open override fun asDataItem(): DataItem

Should return an instance of a DataItem that represents all required properties of the implementing class, such that it could be:

valueOf
Link copied to clipboard
fun valueOf(value: String): LogLevel

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<LogLevel>

Returns an array containing the constants of this enum type, in the order they're declared.

Generated by Dokka
(c) Tealium 2026