pub struct Logger { /* private fields */ }Expand description
Main logger struct
Implementations§
Source§impl Logger
impl Logger
pub fn new() -> Self
pub fn with_level(self, level: LogLevel) -> Self
pub fn quiet(self) -> Self
Sourcepub fn subsection(&self, title: &str)
pub fn subsection(&self, title: &str)
Print a subsection with better visual hierarchy
Sourcepub fn list(&self, items: &[&str], title: Option<&str>)
pub fn list(&self, items: &[&str], title: Option<&str>)
Print a list of items with enhanced styling
Sourcepub fn summary(&self, title: &str, items: &[(&str, &str)])
pub fn summary(&self, title: &str, items: &[(&str, &str)])
Print a summary box with enhanced styling
Sourcepub fn command(&self, cmd: &str, args: &[&str])
pub fn command(&self, cmd: &str, args: &[&str])
Print a command being executed with enhanced styling
Sourcepub fn module_status(&self, module: &str, status: &str, workspace: Option<&str>)
pub fn module_status(&self, module: &str, status: &str, workspace: Option<&str>)
Print module processing status with enhanced styling
Sourcepub fn module_header(&self, module: &str)
pub fn module_header(&self, module: &str)
Print module header with enhanced styling
Sourcepub fn workspace_discovery(&self, workspaces: &[String])
pub fn workspace_discovery(&self, workspaces: &[String])
Print workspace discovery with better formatting
Sourcepub fn workspace_processing(&self, workspace: &str, _var_files_count: usize)
pub fn workspace_processing(&self, workspace: &str, _var_files_count: usize)
Print workspace processing status with better formatting
Sourcepub fn workspace_skip(&self, workspace: &str, reason: &str)
pub fn workspace_skip(&self, workspace: &str, reason: &str)
Print workspace skip status
Sourcepub fn parallel_processing_start(&self, worker_count: usize)
pub fn parallel_processing_start(&self, worker_count: usize)
Print parallel processing start with better formatting
Sourcepub fn operation_status(
&self,
operation: &str,
workspace: Option<&str>,
_var_files_count: usize,
)
pub fn operation_status( &self, operation: &str, workspace: Option<&str>, _var_files_count: usize, )
Print operation status with better formatting
Sourcepub fn operation_completion(
&self,
module: &str,
workspace: Option<&str>,
success: bool,
)
pub fn operation_completion( &self, module: &str, workspace: Option<&str>, success: bool, )
Print operation completion with better formatting
Sourcepub fn processing_summary(
&self,
total_modules: usize,
successful_modules: usize,
failed_modules: usize,
)
pub fn processing_summary( &self, total_modules: usize, successful_modules: usize, failed_modules: usize, )
Print processing summary with better organization
Sourcepub fn module_init_status(&self, success: bool)
pub fn module_init_status(&self, success: bool)
Print module initialization status (simplified)
Sourcepub fn changes_detected(&self, count: usize, modules: &[String])
pub fn changes_detected(&self, count: usize, modules: &[String])
Print change detection results with enhanced styling
Sourcepub fn pipeline_info(&self, pr_number: &str, base: &str, head: &str)
pub fn pipeline_info(&self, pr_number: &str, base: &str, head: &str)
Print pipeline detection info with enhanced styling
Sourcepub fn step(&self, step: usize, total: usize, description: &str)
pub fn step(&self, step: usize, total: usize, description: &str)
Print a step indicator for multi-step processes
Sourcepub fn config_summary(&self, settings: &[(&str, &str)])
pub fn config_summary(&self, settings: &[(&str, &str)])
Print a configuration summary
Sourcepub fn results_summary(&self, title: &str, stats: &[(&str, &str)])
pub fn results_summary(&self, title: &str, stats: &[(&str, &str)])
Print a results summary with statistics
Sourcepub fn warning_box(&self, title: &str, message: &str)
pub fn warning_box(&self, title: &str, message: &str)
Print a warning box for important notices
Sourcepub fn error_box(&self, title: &str, message: &str)
pub fn error_box(&self, title: &str, message: &str)
Print an error box for detailed error information
Sourcepub fn success_box(&self, title: &str, message: &str)
pub fn success_box(&self, title: &str, message: &str)
Print a success box for completion messages
Sourcepub fn git_changes_progress(
&self,
commit_range: &str,
changed_count: usize,
total_files: &[String],
)
pub fn git_changes_progress( &self, commit_range: &str, changed_count: usize, total_files: &[String], )
Print git change detection progress in a cleaner way
Sourcepub fn changed_files_summary(&self, files: &[String])
pub fn changed_files_summary(&self, files: &[String])
Print changed files in a beautiful, organized way
Sourcepub fn git_analysis_summary(
&self,
total_commits: usize,
total_changes: usize,
modules_found: usize,
)
pub fn git_analysis_summary( &self, total_commits: usize, total_changes: usize, modules_found: usize, )
Print a summary of git analysis
Sourcepub fn module_discovery(&self, count: usize, path: &str)
pub fn module_discovery(&self, count: usize, path: &str)
Print module discovery progress
Sourcepub fn dependency_graph_progress(&self, stage: &str)
pub fn dependency_graph_progress(&self, stage: &str)
Print dependency graph building progress
Sourcepub fn environment_detection(&self, env_type: &str, details: &str)
pub fn environment_detection(&self, env_type: &str, details: &str)
Print environment detection
Sourcepub fn config_validation_warnings(&self, warnings: &[String])
pub fn config_validation_warnings(&self, warnings: &[String])
Print configuration validation warnings in a cleaner way
Sourcepub fn config_loading(&self, config_path: &str)
pub fn config_loading(&self, config_path: &str)
Print configuration loading status
Sourcepub fn config_validation_summary(
&self,
warning_count: usize,
error_count: usize,
)
pub fn config_validation_summary( &self, warning_count: usize, error_count: usize, )
Print configuration validation summary
Sourcepub fn error_summary(
&self,
title: &str,
failed_count: usize,
total_count: usize,
)
pub fn error_summary( &self, title: &str, failed_count: usize, total_count: usize, )
Print a concise error summary for failed operations