LogLine

data class LogLine(val deviceTime: Instant, val uid: Int?, val pid: Int, val tid: Int, val priority: LogPriority?, val tag: String, val message: String, val packages: List<String> = emptyList())(source)

One logcat line. A message of several lines arrives as several entries.

Constructors

Link copied to clipboard
constructor(deviceTime: Instant, uid: Int?, pid: Int, tid: Int, priority: LogPriority?, tag: String, message: String, packages: List<String> = emptyList())

Properties

Link copied to clipboard

The device's clock when the line was logged; it need not agree with the host's.

Link copied to clipboard
Link copied to clipboard

The apps installed under uid: one for an app, several for apps sharing a uid, none for a system process or an app no longer installed.

Link copied to clipboard
val pid: Int
Link copied to clipboard

Null for a priority this client does not know.

Link copied to clipboard
val tag: String
Link copied to clipboard
val tid: Int
Link copied to clipboard
val uid: Int?

The Linux uid of the process that logged it; null when logcat printed no number.