pub async fn clear_event_log<R: Runtime>(
app: AppHandle<R>,
scheduler: State<'_, Scheduler>,
) -> Result<(), String>Expand description
Delete the persistent events.jsonl log (the “Clear history”
button on Insights). In-session counters are unaffected. Emits
stats:cleared so the renderer can refresh.