aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/isolated_functions.bash1
-rwxr-xr-xutils/isolated-functions.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/isolated_functions.bash b/scripts/isolated_functions.bash
index bf65f3e..e704c1a 100644
--- a/scripts/isolated_functions.bash
+++ b/scripts/isolated_functions.bash
@@ -12,3 +12,4 @@ use_enable
eerror foo
debug-print foo
ewarn foo
+debug-print-function foo bar
diff --git a/utils/isolated-functions.sh b/utils/isolated-functions.sh
index 150fe4b..e40bee0 100755
--- a/utils/isolated-functions.sh
+++ b/utils/isolated-functions.sh
@@ -50,6 +50,10 @@ debug-print() {
echo "debug-print: $*"
}
+debug-print-function() {
+ debug-print "${1}: entering function, parameters: ${*:2}"
+}
+
ewarn() {
echo "ewarn: $*"
}