removed logger calls from utils functions. handled by boxline

This commit is contained in:
alanw 2023-05-09 16:07:33 -07:00
parent 6f0c8efbaf
commit 91da452517

View file

@ -509,7 +509,7 @@ install-dir() {
success(){
_line="$@"
echo -e "\n"
logger boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}"
boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}"
exit 0
}
@ -518,7 +518,7 @@ warn(){
_line="$@"
echo -e "\n"
boxtop
logger boxline "${lrd}WARNING${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
boxline "${lrd}WARNING${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
boxbottom
}
@ -527,7 +527,7 @@ fail(){
_line="$@"
echo -e "\n"
boxtop
logger boxline "${lrd}FAILED${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
boxline "${lrd}FAILED${lyl}[${ong}code=${red}$ec${lyl}]: ${_line}${dfl}"
boxbottom
exit $ec
}