Skip to main content

clear_event_log

Function clear_event_log 

Source
pub async fn clear_event_log(
    app: AppHandle,
    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.