Project

General

Profile

« Previous | Next » 

Revision 9288

lib/sh/util.sh: logging: log_level definition: added instructions to view a message's log_level (count the # of + signs before it in the output)

View differences:

util.sh
176 176
# definition: the log_level is the minimum verbosity needed to display a message
177 177
# for messages that use can_log(), the log_level starts with *1*, not 0
178 178
# for unfiltered messages, the log_level is 0 (i.e. still output at verbosity=0)
179
# to view a message's log_level, count the # of + signs before it in the output
179 180

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

Also available in: Unified diff