Project

General

Profile

« Previous | Next » 

Revision 10153

lib/sh/util.sh: added log-() because it's non-obvious that you would otherwise have to invoke log+() with a negative #

View differences:

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