Ferrox Logger (ferrox-logger)
ferrox-logger sets up production-ready, structured JSON logging, Sentry telemetry, and cryptographic SHA-256 Merkle root log chain auditing for Ferrox and Rust applications.
🔑 Key Features
- 📝 Structured JSON Output: Standardized log format with timestamps, severity levels, module targets, and OpenTelemetry trace IDs.
- 🔗
MerkleLogLedger: Cryptographic SHA-256 Merkle root computation over structured log blocks for tamper-evident auditing and regulatory compliance. - 🚨 Sentry Integration: Automatic panic and critical error event reporting to Sentry APM.
- 🎛️ Environmental Filtering: Configurable log level thresholds via
RUST_LOGenvironment variables.
🚀 Quickstart Usage
Add ferrox-logger to your Cargo.toml:
[]
= "0.1.2"
= "0.1"
1. Setup Structured JSON Logging & Sentry
use ;
2. Cryptographic Merkle Log Audit Chain (MerkleLogLedger)
use MerkleLogLedger;
📜 License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.