This commit is contained in:
Marc Beninca 2024-11-19 09:52:38 +01:00
parent e33138bab4
commit 2089e8c1e0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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
}