cortexai_audit/backends/mod.rs
1//! Audit logging backends.
2//!
3//! This module provides various backends for storing audit logs:
4//! - `FileLogger`: Plain text file logging
5//! - `JsonFileLogger`: JSON structured logging with rotation
6//! - `AsyncLogger`: Non-blocking async wrapper
7
8mod async_logger;
9mod file;
10mod json_file;
11
12pub use async_logger::{AsyncLogger, AsyncLoggerBuilder};
13pub use file::FileLogger;
14pub use json_file::{JsonFileLogger, RotationConfig, RotationPolicy};