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.cr

Instance Method Summary

Instance Method Detail

def announce(message : String) #

[View source]
def command_start(command : String) #

[View source]
def debug(message : String) #

Standard log levels


[View source]
def error(message : String) #

[View source]
def exception(ex : Exception, context : String | Nil = nil) #

Exception handling with detailed formatting


[View source]
def fatal(message : String) #

[View source]
def file_created(path : String) #

[View source]
def file_modified(path : String) #

[View source]
def file_skipped(path : String, reason : String = "already exists") #

[View source]
def info(message : String) #

[View source]
def progress_done(success : Bool = true) #

[View source]
def progress_start(message : String) #

[View source]
def prompt(message : String) #

[View source]
def setup #

Setup logging system based on configuration


[View source]
def step(step_number : Int32, total_steps : Int32, message : String) #

[View source]
def success(message : String) #

CLI-specific log methods with enhanced formatting


[View source]
def title(message : String) #

[View source]
def warn(message : String) #

[View source]