Revision 10153
Added by Aaron Marcuse-Kubitza almost 11 years ago
lib/sh/util.sh | ||
---|---|---|
350 | 350 |
log_level=$((log_level+$1)) \ |
351 | 351 |
verbosity="$(float+int "$verbosity" "-$1")" "${@:2}" |
352 | 352 |
} |
353 |
log-() { log+ "-$1" "${@:2}"; } |
|
353 | 354 |
log++() { log+ 1 "$@"; } |
354 | 355 |
log--() { log+ -1 "$@"; } |
355 | 356 |
alias log_local=\ |
Also available in: Unified diff
lib/sh/util.sh: added log-() because it's non-obvious that you would otherwise have to invoke log+() with a negative #