#!/bin/bash # Logging function that frames a message with a border and adds a timestamp log_message() { local message="$1" local combined_message="${message}" local length=${#combined_message} local border_length=$((length + 4)) # Create the top border local border="" for ((i=0; i