Expand description
§Bootstrap Logger
Lightweight logging abstraction for the bootstrap phase.
§Design Rationale
The bootstrap logger is a simplified logging interface specifically for bootstrap-phase operations. It provides:
- Minimal API - Only essential log levels
- Trait-based - Testable with no-op implementation
- Integration-ready - Can wrap tracing, env_logger, or custom loggers
- Bootstrap-specific - Separate from application logging
§Log Levels
- Error - Fatal errors during bootstrap
- Warn - Non-fatal issues (missing optional config, etc.)
- Info - Normal bootstrap messages
- Debug - Detailed bootstrap information
§Usage
use adaptive_pipeline_bootstrap::logger::{BootstrapLogger, ConsoleLogger};
let logger = ConsoleLogger::new();
logger.info("Starting application bootstrap");
logger.debug("Parsing command line arguments");Structs§
- Console
Logger - Console logger implementation using tracing
- NoOp
Logger - No-op logger for testing
Traits§
- Bootstrap
Logger - Bootstrap logging abstraction