Avec les fonctions e*, afficher le statut de façon explicite en mode non coloré
This commit is contained in:
parent
2a821b8deb
commit
e040cac091
|
@ -2966,9 +2966,9 @@ function __indent() {
|
|||
fi
|
||||
}
|
||||
# fonctions à surcharger pour modifier la façon dont les messages sont affichés
|
||||
function __eerror() { tooenc "$(__edate)${__tlevel}E $(__indent "$1")"; }
|
||||
function __ewarn() { tooenc "$(__edate)${__tlevel}W $(__indent "$1")"; }
|
||||
function __enote() { tooenc "$(__edate)${__tlevel}N $(__indent "$1")"; }
|
||||
function __eerror() { tooenc "$(__edate)${__tlevel}ERROR $(__indent "$1")"; }
|
||||
function __ewarn() { tooenc "$(__edate)${__tlevel}WARNING $(__indent "$1")"; }
|
||||
function __enote() { tooenc "$(__edate)${__tlevel}NOTE $(__indent "$1")"; }
|
||||
function __ebanner() {
|
||||
local maxi="${COLUMNS:-80}"
|
||||
local -a lines
|
||||
|
@ -2990,12 +2990,12 @@ function __ebanner() {
|
|||
done
|
||||
tooenc "$psfix"
|
||||
}
|
||||
function __eimportant() { tooenc "$(__edate)${__tlevel}! $(__indent "$1")"; }
|
||||
function __eattention() { tooenc "$(__edate)${__tlevel}* $(__indent "$1")"; }
|
||||
function __einfo() { tooenc "$(__edate)${__tlevel}I $(__indent "$1")"; }
|
||||
function __eimportant() { tooenc "$(__edate)${__tlevel}IMPORTANT $(__indent "$1")"; }
|
||||
function __eattention() { tooenc "$(__edate)${__tlevel}ATTENTION $(__indent "$1")"; }
|
||||
function __einfo() { tooenc "$(__edate)${__tlevel}INFO $(__indent "$1")"; }
|
||||
function __eecho() { tooenc "$(__edate)${__tlevel}$(__indent "$1")"; }
|
||||
function __eecho_() { tooenc_ "$(__edate)${__tlevel}$(__indent "$1")"; }
|
||||
function __edebug() { tooenc "$(__edate)${__tlevel}D $(__indent "$1")"; }
|
||||
function __edebug() { tooenc "$(__edate)${__tlevel}DEBUG $(__indent "$1")"; }
|
||||
function __estep() { tooenc "$(__edate)${__tlevel}. $(__indent "$1")"; }
|
||||
function __estepe() { __estep "$@"; }
|
||||
function __estepw() { __estep "$@"; }
|
||||
|
@ -3006,7 +3006,7 @@ function __estepe_() { __estep_ "$@"; }
|
|||
function __estepw_() { __estep_ "$@"; }
|
||||
function __estepn_() { __estep_ "$@"; }
|
||||
function __estepi_() { __estep_ "$@"; }
|
||||
function __etitle() { tooenc "$(__edate)${__tlevel}T $(__indent "$1")"; }
|
||||
function __etitle() { tooenc "$(__edate)${__tlevel}=== $(__indent "$1")"; }
|
||||
function __ebegin() { tooenc_ "$(__edate)${__tlevel}. $(__indent "$1"): "; }
|
||||
function __edoto() { echo_ "."; }
|
||||
function __edotw() { echo_ "w"; }
|
||||
|
|
Loading…
Reference in New Issue