logw

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

WARN logger.

Example :

function().logw()
function().logw(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