|
|
@ -210,14 +210,9 @@ openim::log::status() {
|
|
|
|
if [[ ${OPENIM_VERBOSE} < ${V} ]]; then
|
|
|
|
if [[ ${OPENIM_VERBOSE} < ${V} ]]; then
|
|
|
|
return
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
|
|
|
|
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
|
|
|
|
echo_log "${timestamp} ${1}"
|
|
|
|
echo_log "${timestamp} ${1}"
|
|
|
|
shift
|
|
|
|
echo_log -e "${COLOR_BLUE} ${1} ==> ${COLOR_BLUE}$@${reset_color}"
|
|
|
|
for message; do
|
|
|
|
|
|
|
|
local reset_color='\033[0m'
|
|
|
|
|
|
|
|
echo_log -e "${COLOR_BLUE} ${message} ==> ${COLOR_BLUE}$@${reset_color}"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|