ConsoleLog

data class ConsoleLog(val level: LogLevel, val tag: String, val message: String, val timestamp: Long)

Represents a single captured console log line.

Instances are produced either by the platform-native capture layer (logcat on Android, a stdout/stderr redirect on iOS) or manually via com.worldline.devview.consolelogger.ConsoleLogger.log.

See also

Constructors

Link copied to clipboard
constructor(level: LogLevel, tag: String, message: String, timestamp: Long)

Properties

Link copied to clipboard

The severity of this log line.

Link copied to clipboard

The log message text.

Link copied to clipboard
val tag: String

The originating tag, e.g. an Android log tag. Empty when the source has no concept of a tag (such as a raw stdout line on iOS).

Link copied to clipboard

Unix timestamp in milliseconds representing when the line was captured.