From 6f4bf5108197ae2f4c27ba03fe24a8eea570e784 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 8 Jun 2020 10:13:34 -0500 Subject: Log function name --- bollux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bollux b/bollux index 2e0b9a1..8e1207b 100755 --- a/bollux +++ b/bollux @@ -59,7 +59,7 @@ log() { # log LEVEL MESSAGE esac shift - printf >&2 '\e[%sm%s:\e[0m\t%s\n' "$fmt" "$PRGN" "$*" + printf >&2 '\e[%sm%s:%s:\e[0m\t%s\n' "$fmt" "$PRGN" "${FUNCNAME[1]}" "$*" } # main entry point -- cgit 1.4.1-21-gabe81