mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Structured Logging Module (logger.rs): - Multiple output formats: JSON, CSV, JSONL, Console - Configurable buffering and log rotation settings - Thread-safe logging with Arc<Mutex<>> for concurrent access - Rich log entries with metadata and flow correlation Log Entry Features: - Timestamp (Unix and ISO 8601 formats) - Source/destination IP addresses and ports - Protocol information (name and number) - Packet size and action taken (LOG/DROP) - Network interface and unique flow hash - Structured serialization with serde Output Format Support: - Console: Human-readable real-time logging - JSON: Structured array format for batch processing - JSONL: Line-delimited JSON for streaming analytics - CSV: Spreadsheet-compatible format with headers Performance Optimizations: - Buffered I/O with configurable buffer sizes - Efficient serialization and string formatting - Minimal allocation during high-throughput logging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
3 weeks ago | |
---|---|---|
.. | ||
src | 3 weeks ago | |
Cargo.toml | 3 weeks ago | |
build.rs | 3 weeks ago |