AnalysisTrace
interface AnalysisTrace
Receives analysis trace events for optional task-level logging.
Implementations should stay side-effect free unless the caller explicitly wants to emit logs or collect debug information.
Inheritors
Properties
Functions
Link copied to clipboard
open fun analysisPhaseTiming(database: DatabaseContext, file: SourceFile, phase: AnalysisPhase, durationNanos: Long)
Signals the measured duration of a shared analysis phase.
Link copied to clipboard
Signals the resolved SQLDelight files for a database before rules run.
Link copied to clipboard
open fun deprecatedRule(database: DatabaseContext, ruleId: QualifiedRuleId, deprecation: RuleDeprecation, enabled: Boolean)
Signals that user configuration explicitly mentions a deprecated rule.
Link copied to clipboard
open fun deprecatedRuleOption(database: DatabaseContext, ruleId: QualifiedRuleId, optionName: String, deprecation: RuleOptionDeprecation)
Signals that user configuration explicitly mentions a deprecated rule option.
Link copied to clipboard
Signals the rules that executed for one file after suppression handling.
Link copied to clipboard
open fun ruleTiming(database: DatabaseContext, file: SourceFile, ruleId: QualifiedRuleId, durationNanos: Long)
Signals the measured duration of one executed rule.
Link copied to clipboard
open fun unknownRuleOption(database: DatabaseContext, ruleId: QualifiedRuleId, optionName: String, knownOptionNames: Set<String>)
Signals that user configuration contains an option not declared by the rule.