loge

fun Any?.loge(throwable: Throwable? = null, tag: String? = null)

ERROR logger.

Example :

function().loge()
function().loge(tag = "your tag")

Since

1.7.0

Parameters

throwable

Throwable: An exception to log This value may be null.

tag

String: Used to identify the source of a log, It usually identifies the class or activity where the log call occurs. This value may be null.

See also