errors
This commit is contained in:
parent
e33138bab4
commit
2089e8c1e0
1 changed files with 2 additions and 2 deletions
|
@ -17,13 +17,13 @@ sh_log_debug() {
|
|||
|
||||
sh_log_error() {
|
||||
if [ "${SH_LOG_LEVEL}" -ge "${SH_LOG_LEVEL_ERROR}" ]; then
|
||||
echo "[ERROR]" "${@}"
|
||||
echo "[ERROR]" "${@}" >&2
|
||||
fi
|
||||
}
|
||||
|
||||
sh_log_fatal() {
|
||||
if [ "${SH_LOG_LEVEL}" -ge "${SH_LOG_LEVEL_FATAL}" ]; then
|
||||
echo "[FATAL]" "${@}"
|
||||
echo "[FATAL]" "${@}" >&2
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue