logcat
fun Any?.logcat(throwable: Throwable? = null, priority: LogLevel = LogLevel.DEBUG, tag: String? = null)
Top-level logging.
Example :
function().logcat()
function().logcat(tag = "your tag")
Content copied to clipboard
Since
1.7.0
Parameters
priority
enum: The priority/type of this log message Value is ASSERT, ERROR, WARN, INFO, DEBUG, or VERBOSE
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.