LogEntry

@Serializable
data class LogEntry(val source: String, val level: String, val text: String, val category: String? = null, val timestamp: Double, val url: String? = null, val lineNumber: Int? = null, val stackTrace: Runtime.StackTrace? = null, val networkRequestId: String? = null, val workerId: String? = null, val args: List<Runtime.RemoteObject>? = null)

Log entry.

Constructors

Link copied to clipboard
constructor(source: String, level: String, text: String, category: String? = null, timestamp: Double, url: String? = null, lineNumber: Int? = null, stackTrace: Runtime.StackTrace? = null, networkRequestId: String? = null, workerId: String? = null, args: List<Runtime.RemoteObject>? = null)

Properties

Link copied to clipboard

Call arguments.

Link copied to clipboard
val category: String? = null
Link copied to clipboard

Log entry severity.

Link copied to clipboard
val lineNumber: Int? = null

Line number in the resource.

Link copied to clipboard

Identifier of the network request associated with this entry.

Link copied to clipboard

Log entry source.

Link copied to clipboard

JavaScript stack trace.

Link copied to clipboard

Logged text.

Link copied to clipboard

Timestamp when this entry was added.

Link copied to clipboard
val url: String? = null

URL of the resource if known.

Link copied to clipboard
val workerId: String? = null

Identifier of the worker associated with this entry.