Prettier setup logging.
This commit is contained in:
@@ -41,23 +41,23 @@ NC='\033[0m' # No Color
|
|||||||
|
|
||||||
# Print functions for consistent output formatting
|
# Print functions for consistent output formatting
|
||||||
print_header() {
|
print_header() {
|
||||||
echo -e "\n${BLUE}=== $1 ===${NC}\n"
|
echo -e "\n${BLUE} $1 ===${NC}\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
print_info() {
|
print_info() {
|
||||||
echo -e "${BLUE}INFO:${NC} $1"
|
echo -e "${BLUE}ℹ️ ${NC} $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
print_warning() {
|
print_warning() {
|
||||||
echo -e "${YELLOW}WARNING:${NC} $1"
|
echo -e "${YELLOW}⚠️ ${NC} $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
print_success() {
|
print_success() {
|
||||||
echo -e "${GREEN}SUCCESS:${NC} $1"
|
echo -e "${GREEN}✅ ${NC} $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
print_error() {
|
print_error() {
|
||||||
echo -e "${RED}ERROR:${NC} $1"
|
echo -e "${RED}❌ ${NC} $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user