From eaaa9662cdc24d7d24715b8711b8519527cddd23 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 18 Nov 2024 12:17:47 +0100 Subject: [PATCH] sh_log --- sh/log.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sh/log.sh b/sh/log.sh index 19f7c1b..c938663 100644 --- a/sh/log.sh +++ b/sh/log.sh @@ -7,6 +7,8 @@ SH_LOG_LEVEL_TRACE=5 SH_LOG_LEVEL=${SH_LOG_LEVEL_INFO} +sh_log() { sh_log_info "${@}"; } + sh_log_debug() { if [ "${SH_LOG_LEVEL}" -ge "${SH_LOG_LEVEL_DEBUG}" ]; then echo "[DEBUG]" "${@}"