Breadcrumb

open class Breadcrumb : JsonStream.Streamable

Functions

getMessage
Link copied to clipboard
open fun getMessage(): String
Gets the description of the breadcrumb
getMetadata
Link copied to clipboard
open fun getMetadata(): Map<String, Any>
Gets diagnostic data relating to the breadcrumb
getTimestamp
Link copied to clipboard
open fun getTimestamp(): Date
The timestamp that the breadcrumb was left
getType
Link copied to clipboard
open fun getType(): BreadcrumbType
Gets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes
setMessage
Link copied to clipboard
open fun setMessage(@NonNull() message: String)
Sets the description of the breadcrumb
setMetadata
Link copied to clipboard
open fun setMetadata(@Nullable() metadata: Map<String, Any>)
Sets diagnostic data relating to the breadcrumb
setType
Link copied to clipboard
open fun setType(@NonNull() type: BreadcrumbType)
Sets the type of breadcrumb left - one of those enabled in getEnabledBreadcrumbTypes
toStream
Link copied to clipboard
open fun toStream(@NonNull() stream: JsonStream)