libeinfo: add separate variable to suppress eerror messages
Add an EERROR_QUIET environment variable which works like EINFO_QUIET but for the eerror functions. This will allow library consumers to choose whether to suppress eerror messages separately from einfo and ewarn messages. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
This commit is contained in:
@@ -107,7 +107,6 @@ respectively, but only work when
|
||||
is true. You can also make the
|
||||
.Fn einfo ,
|
||||
.Fn ewarn ,
|
||||
.Fn eerror ,
|
||||
and
|
||||
.Fn ebegin
|
||||
functions silent by setting
|
||||
@@ -186,6 +185,12 @@ when set to true makes the
|
||||
and
|
||||
.Fn einfon
|
||||
family of functions quiet, so nothing is printed.
|
||||
.Va EERROR_QUIET
|
||||
when set to true makes the
|
||||
.Fn eerror
|
||||
and
|
||||
.Fn eerrorn
|
||||
family of functions quiet, so nothing is printed.
|
||||
.Pp
|
||||
.Va EINFO_VERBOSE
|
||||
when set to true makes the
|
||||
|
Reference in New Issue
Block a user