diff options
-rw-r--r-- | nix-utils.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nix-utils.sh b/nix-utils.sh index 7887feb..b0ae43c 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -13,6 +13,13 @@ stderr() { } # +# Print debugging output on stderr, in green +# +dbg() { + echo -e "${Green}[DEBUG][$(basename $0)]: ${*}${Color_Off}" >&2 +} + +# # Print on stdout, if verbosity is enabled, prefix in green # stdout() { |