7e1687b5c690d8933b563482b221e45bdd766616
2 # Desc: Display message if optionVerbose true
5 # Description: Prints verbose message ("vbm") to stderr if optionVerbose is set to "true".
6 # Usage: vbm "DEBUG:verbose message here"
11 # Depends: echo 8, date 8
13 if [ "$optionVerbose" = "true" ]; then
14 functionTime
=$
(date --iso-8601=ns
); # Save current time in nano seconds.
15 echo "[$functionTime] ""$*" 1>&2; # Display argument text.
19 return 0; # Function finished.
20 } # Displays message if optionVerbose true
22 # Author: Steven Baltakatei Sandoval