LogLevel

enum LogLevel : Enum


The log levels supported by FirebaseDataConnect.

See also
logLevel

Summary

Enum Values

DEBUG

Log all messages, including detailed debug logs.

NONE

Do not log anything.

WARN

Only log warnings and errors; this is the default log level.

Public functions

LogLevel
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<LogLevel>

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

Enum Values

DEBUG

val LogLevel.DEBUGLogLevel

Log all messages, including detailed debug logs.

NONE

val LogLevel.NONELogLevel

Do not log anything.

WARN

val LogLevel.WARNLogLevel

Only log warnings and errors; this is the default log level.

Public functions

valueOf

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.)

Throws
kotlin.IllegalArgumentException: kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<LogLevel>

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

This method may be used to iterate over the constants.