LithoStartupLogger

abstract class LithoStartupLogger

Logger for tracking Litho events happening during startup.

The implementations decide how to log points (via LithoStartupLogger.markPoint) and whether this logger is enabled (via LithoStartupLogger.isEnabled).

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun markPoint(eventName: String, stage: String, dataAttribution: String = latestDataAttribution)

Mark the event with given name and stage (start/end). It will use currently assigned data attribution.

Link copied to clipboard
fun setDataAttribution(attribution: String)

Set attribution to the rendered events like the network query name, data source (network/cache) etc.