Skip to main content

record

Function record 

Source
pub fn record(
    conn: &Connection,
    action: &str,
    tracking_id: &str,
    user_id: Option<i64>,
    details: Option<&str>,
) -> Result<i64, Error>
Expand description

Record an audit log entry.

ยงErrors

Returns an error if the insert fails.