functions: Change log format
This commit is contained in:
parent
c15cd9627a
commit
b87edce4a4
|
@ -8,9 +8,9 @@ log()
|
||||||
error)
|
error)
|
||||||
printf "\e[1m\e[31mERROR:\e[0m \e[1m%s\e[0m\n" "$1">&2;;
|
printf "\e[1m\e[31mERROR:\e[0m \e[1m%s\e[0m\n" "$1">&2;;
|
||||||
internal)
|
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)
|
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;;
|
printf "\e[1m\e[92m>>>\e[0m \e[1m%s\e[0m\n" "$1">&2;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue