Log
Generic console and logging helpers
Functions
log_echo_error(message)
Logs a red message to STDERR
source "log.sh"
log_echo_error "error text"
log_[info|success|warning|debug|error](message)
Logs a message with timestamp and colored log level
source "log.sh"
log_info "info message"
log_success "success message"
log_warning "warning message"
log_debug "debug message"
log_error "error message"
log_die(message)
Logs a fatal message with timestamp and exits with error code 1
source "log.sh"
log_die "fatal message"
log_divider_header(message)
Logs a visual divider for multiline command output
source "log.sh"
log_divider_header "directory content"
ls -lsa
log_divider_footer