asText

fun asText(): String

Casts this LoggingFormat as a Text and retrieves its kotlin.String value. Throws an exception if the LoggingFormat is not a Text.