pub fn log_database_query( context: &LoggingContext, query: &str, duration_ms: u128, affected_rows: Option<u64>, )
Log a database query