LogReport

data class LogReport(val tag: String, val message: String, val logLevel: LogLevel, val throwable: Throwable? = null)

Represents a structured log entry within the Localz SDK.

Log reports are used for debugging, monitoring, and troubleshooting the SDK's operation. They can be collected via the logReportFlow methods available in the SDK classes.

Constructors

Link copied to clipboard
constructor(tag: String, message: String, logLevel: LogLevel, throwable: Throwable? = null)

Properties

Link copied to clipboard

The severity level of the log.

Link copied to clipboard

The actual log message.

Link copied to clipboard
val tag: String

The source component or module that generated the log.

Link copied to clipboard
val throwable: Throwable? = null

An optional exception associated with this log entry.