logcat

fun logcat(message: Any?, throwable: Throwable? = null, priority: LogLevel = LogLevel.DEBUG, tag: String? = null)

Top-level logging.

Example :

logcat("Hello, Affogato")
logcat("Hello, Affogato", tag = "your tag")

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 message. It usually identifies the class or activity where the log call occurs. This value may be null.

message

The message you would like logged.

See also