pub fn tls_event( action: &str, outcome: SecurityOutcome, reason: Option<&str>, source_ip: Option<IpAddr>, )
Log a TLS/certificate event.