From: Steven Baltakatei Sandoval Date: Sat, 11 Jul 2020 09:28:00 +0000 (+0000) Subject: chore(bklog):Update vbm() to include script name X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/5cc9c873cdfaae849f7cd437190eb4bafb0acd54?hp=e2dc45d007058f639dfa98053ab57b60189115fe chore(bklog):Update vbm() to include script name --- diff --git a/exec/bklog b/exec/bklog index 67134e0..0d24898 100644 --- a/exec/bklog +++ b/exec/bklog @@ -66,7 +66,7 @@ processArguments() { vbm() { # Description: Prints verbose message ("vbm") to stderr if optionVerbose is set to "true". # Usage: vbm "DEBUG :verbose message here" - # Version 0.1.2 + # Version 0.1.3 # Input: arg1: string # vars: optionVerbose # Output: stderr @@ -74,7 +74,7 @@ vbm() { if [ "$optionVerbose" = "true" ]; then functionTime=$(date --iso-8601=ns); # Save current time in nano seconds. - echo "[$functionTime] ""$*" 1>&2; # Display argument text. + echo "[$functionTime]:$0:""$*" 1>&2; # Display argument text. fi # End function