module
AzuCLI::Logger
Overview
Centralized logging system for Azu CLI Provides structured logging with colored output and multiple formats
Extended Modules
Defined in:
azu_cli/logger.crInstance Method Summary
- #announce(message : String)
- #command_start(command : String)
-
#debug(message : String)
Standard log levels
- #error(message : String)
-
#exception(ex : Exception, context : String | Nil = nil)
Exception handling with detailed formatting
- #fatal(message : String)
- #file_created(path : String)
- #file_modified(path : String)
- #file_skipped(path : String, reason : String = "already exists")
- #info(message : String)
- #progress_done(success : Bool = true)
- #progress_start(message : String)
- #prompt(message : String)
-
#setup
Setup logging system based on configuration
- #step(step_number : Int32, total_steps : Int32, message : String)
-
#success(message : String)
CLI-specific log methods with enhanced formatting
- #title(message : String)
- #warn(message : String)
Instance Method Detail
def exception(ex : Exception, context : String | Nil = nil)
#
Exception handling with detailed formatting