refactor(package): sentinella: +logging
This commit is contained in:
@@ -17,5 +17,5 @@ log() {
|
||||
# shellcheck disable=SC1003
|
||||
fmt="$(printf "%s" "$1" | sed 's/\\033\[0m/''\'"$color"'/g')"
|
||||
shift
|
||||
printf "%b\n" "$color$fmt$NC" "$@"
|
||||
printf "%b\n" "$color$fmt$NC" "$@" >&2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user