Optimizing scripts

This commit is contained in:
skiffer-git 2024-03-21 14:36:03 +08:00
parent 84d3b69ae0
commit 9f7bfeff8f

View File

@ -211,8 +211,7 @@ openim::log::status() {
return
fi
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
echo_log "${timestamp} ${1}"
echo_log -e "${COLOR_BLUE} ${1} ==> ${COLOR_BLUE}$@${reset_color}"
echo_log -e "${COLOR_BLUE} ${timestamp} ${1} ==> ${COLOR_BLUE}$@${reset_color}"
}