Project

General

Profile

« Previous | Next » 

Revision 9286

lib/sh/util.sh: logging: log_level definition: emphasized that the log_level starts with 1, not 0 (0 has a special meaning, which refers to unfiltered messages)

View differences:

util.sh
174 174
export verbosity # propagate to invoked commands
175 175

  
176 176
# definition: the log_level is the minimum verbosity needed to display a command
177
# for commands that use can_log(), the log_level starts with 1
177
# for commands that use can_log(), the log_level starts with *1*, not 0
178 178
# for unfiltered commands, the log_level is 0 (i.e. still output at verbosity=0)
179 179

  
180 180
: "${log_level_indent=| }" "${log_indent=}"

Also available in: Unified diff