⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

log_event

Function log_event 

Source
pub fn log_event(
    pid: u64,
    tid: u64,
    category: AuditCategory,
    severity: AuditSeverity,
    message: String,
    success: bool,
)
Expand description

Log a structured audit event.

This is the primary entry point. The event is checked against the active filter. If accepted, it is inserted into the ring buffer (with coalescing). Uses try_write() to avoid deadlocks in interrupt context.