getLong

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

Returns long value from ConfigValue by key. For order of flags see getValue.

Return

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

Parameters

key

Config key.

default

Default value to return.