StructuredLogEntry
data class StructuredLogEntry(val priority: Int, val tag: String?, val message: String, val throwable: Throwable?, val fields: Map<String, Any?>)
Immutable data model representing a single structured log entry.
Instances are created by StructuredTree and passed to each Sink. This class is a data class, so equals, hashCode, toString, and copy are generated automatically.
Since
1.0.0
Parameters
priority
Log priority (android.util.Log constants).
tag
Log tag, or null if not set by the caller.
message
Log message.
throwable
Optional throwable, or null if none was provided.
fields
Merged key-value attributes (global + context + per-log).