BootstrapLogger

Trait BootstrapLogger 

Source
pub trait BootstrapLogger: Send + Sync {
    // Required methods
    fn error(&self, message: &str);
    fn warn(&self, message: &str);
    fn info(&self, message: &str);
    fn debug(&self, message: &str);
}
Expand description

Bootstrap logging abstraction

Provides a simple logging interface for bootstrap operations. Implementations can use tracing, env_logger, or custom backends.

Required Methods§

Source

fn error(&self, message: &str)

Log an error message

Used for fatal errors during bootstrap that will cause termination.

Source

fn warn(&self, message: &str)

Log a warning message

Used for non-fatal issues that may affect operation.

Source

fn info(&self, message: &str)

Log an info message

Used for normal bootstrap progress messages.

Source

fn debug(&self, message: &str)

Log a debug message

Used for detailed diagnostic information during bootstrap.

Implementors§