Project

General

Profile

« Previous | Next » 

Revision 9285

lib/sh/util.sh: logging: log_level definition: documented that for commands that use can_log(), the log_level starts with 1. for unfiltered commands, the log_level is 0 (i.e. still output at verbosity=0).

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
178
# for unfiltered commands, the log_level is 0 (i.e. still output at verbosity=0)
177 179

  
178 180
: "${log_level_indent=| }" "${log_indent=}"
179 181
export log_level_indent log_indent # propagate to invoked commands

Also available in: Unified diff