logError

fun logError(tag: String, cause: CharSequence?): Int

Show log error

Parameters

tag

Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.

cause

The message you would like logged.

fun logError(tag: String, throwable: Throwable): Int

Show log error

Parameters

tag

Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.

throwable

The message you would like logged.

fun logError(throwable: Throwable): Int

Show log error

Parameters

throwable

Used to identify the source of a log message.