android-components / mozilla.components.lib.crash / Breadcrumb


data class Breadcrumb : Comparable<Breadcrumb> (source)

Represents a single crash breadcrumb.


Name Summary
Level enum class Level
Crash breadcrumb priority level.
Type enum class Type
Crash breadcrumb type.


Name Summary
<init> Breadcrumb(message: String = "", data: Map<String, String> = emptyMap(), category: String = "", level: Level = Level.DEBUG, type: Type = Type.DEFAULT, date: Date = Date())
Represents a single crash breadcrumb.


Name Summary
category val category: String
Category of the crash breadcrumb.
data val data: Map<String, String>
Data related to the crash breadcrumb.
date val date: Date
Date of of the crash breadcrumb.
level val level: Level
Level of the crash breadcrumb.
message val message: String
Message of the crash breadcrumb.
type val type: Type
Type of the crash breadcrumb.


Name Summary
compareTo fun compareTo(other: Breadcrumb): Int

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.