Project

General

Profile

« Previous | Next » 

Revision 9221

lib/sh/util.sh: log_err(), log_info(): use bolder symbols (*, #) to make the symbol stand out visually from the line of | above and below it

View differences:

lib/sh/util.sh
190 190
	log "$@"
191 191
}
192 192

  
193
log_err() { symbol=! verbosity=1 log_fd="$err_fd" log_custom "$@"; }
193
log_err() { symbol=* verbosity=1 log_fd="$err_fd" log_custom "$@"; }
194 194

  
195
log_info() { symbol=? log_custom "$@"; }
195
log_info() { symbol='#' log_custom "$@"; }
196 196

  
197 197
# usage: cmd || { save_e; log_e; ...; rethrow; }
198 198
log_e() { log_err "command exited with error $e"; }

Also available in: Unified diff