getLong

abstract fun getLong(key: String, default: Long = 0): Long

Returns long value from ConfigValue by key.

Return

Long by key if present or default value from param or long default (0L).

Parameters

key

Config key.

default

Default value to return.