From b87edce4a44e6fcf7def70ce9b5d6aef4235596f Mon Sep 17 00:00:00 2001 From: timoxa0 Date: Sun, 27 Oct 2024 18:34:14 +0500 Subject: [PATCH] functions: Change log format --- common.d/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.d/functions.sh b/common.d/functions.sh index 05991a9..c446026 100644 --- a/common.d/functions.sh +++ b/common.d/functions.sh @@ -8,9 +8,9 @@ log() error) printf "\e[1m\e[31mERROR:\e[0m \e[1m%s\e[0m\n" "$1">&2;; internal) - printf "\e[1m\e[96m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[96m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; ierror) - printf "\e[1m\e[31m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; + printf "\e[1m\e[31m >>\e[0m \e[1m%s\e[0m\n" "$1">&2;; *) printf "\e[1m\e[92m>>>\e[0m \e[1m%s\e[0m\n" "$1">&2;; esac