logcat
inline fun logcat(priority: LogLevel = LogLevel.DEBUG, throwable: Throwable? = null, tag: String? = null, message: () -> Any?)
Top-level logging.
Example :
logcat { "Hello, Affogato" }
logcat(tag = "your tag") { "Hello, Affogato" }
Content copied to clipboard
Since
1.5.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
Lambda: The message you would like logged.