systemprompt-logging 0.14.6

Tracing and audit infrastructure for systemprompt.io AI governance. Structured events, five-point audit traces, and SIEM-ready JSON output — part of the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! SQL operations backing the log repository.
//!
//! Splits read paths ([`queries`]) from write paths ([`mutations`]) over the
//! `logs` table and re-exports the crate-internal entry points the repository
//! facade composes (fetch, list, paginate, create, update, delete, retention
//! cleanup).

mod mutations;
mod queries;

pub(super) use mutations::{
    cleanup_logs_before, clear_all_logs, count_logs_before, create_log, delete_log,
    delete_logs_multiple, update_log,
};
pub(super) use queries::{get_log, list_logs, list_logs_by_module_patterns, list_logs_paginated};