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(){ success(){
_line="$@" _line="$@"
echo -e "\n" echo -e "\n"
logger boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}" boxborder "${scriptname} ${grn}SUCCESS${dfl} ${_line}"
exit 0 exit 0
} }
@ -518,7 +518,7 @@ warn(){
_line="$@" _line="$@"
echo -e "\n" echo -e "\n"
boxtop 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 boxbottom
} }
@ -527,7 +527,7 @@ fail(){
_line="$@" _line="$@"
echo -e "\n" echo -e "\n"
boxtop 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 boxbottom
exit $ec exit $ec
} }