Project

General

Profile

« Previous | Next » 

Revision 8922

lib/util.sh: echo_vars (): output vars with log_level 3 so they can be excluded separately from function calls to reduce clutter in the logging output. increase the default util.run verbosity so that vars are still printed by default.

View differences:

util.sh
128 128

  
129 129
echo_vars () # usage: echo_vars var...
130 130
{
131
	inc_log_level
131
	inc_log_level; inc_log_level
132 132
	if can_log; then
133 133
		local var
134 134
		for var in "${@%%=*}"; do { echo -n "$PS4"; declare -p "$var";} >&2;done

Also available in: Unified diff