mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 21:02:11 +08:00
Optimizing scripts
This commit is contained in:
parent
581164d9c6
commit
a1d5bdfaa5
@ -216,7 +216,7 @@ openim::log::status() {
|
|||||||
shift
|
shift
|
||||||
for message; do
|
for message; do
|
||||||
local reset_color='\033[0m'
|
local reset_color='\033[0m'
|
||||||
echo_log -e "${COLOR_GREEN} ${message} ==> ${COLOR_GREEN}$@${reset_color}"
|
echo_log -e "${COLOR_BLUE} ${message} ==> ${COLOR_BLUE}$@${reset_color}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ openim::log::success() {
|
|||||||
fi
|
fi
|
||||||
local timestamp=$(date +"%m%d %H:%M:%S")
|
local timestamp=$(date +"%m%d %H:%M:%S")
|
||||||
local reset_color='\033[0m'
|
local reset_color='\033[0m'
|
||||||
echo_log -e "${COLOR_BLUE}[success ${timestamp}]${COLOR_SUFFIX}==> ${COLOR_BLUE}$@${reset_color}"
|
echo_log -e "${COLOR_GREEN}[success ${timestamp}]${COLOR_SUFFIX}==> ${COLOR_GREEN}$@${reset_color}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user