feat: fix openim logs and ci (#1817)

This commit is contained in:
Xinwei Xiong
2024-01-26 12:05:17 +08:00
committed by GitHub
parent d356f7a035
commit 9527278239
4 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ openim::log::error_exit() {
# Log an error but keep going. Don't dump the stack or exit.
openim::log::error() {
timestamp=$(date +"[%m%d %H:%M:%S]")
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
echo_log "!!! ${timestamp} ${1-}" >&2
shift
for message; do
@@ -192,7 +192,7 @@ openim::log::status() {
return
fi
timestamp=$(date +"[%m%d %H:%M:%S]")
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
echo_log "+++ ${timestamp} ${1}"
shift
for message; do