pipewire: allow for log level names in PIPEWIRE_DEBUG

Allow one of "XEWIDT" to refer to none, errors, warnings, info, debug
and trace, respectively because they're immediately recognizable. Well,
except maybe the X.

PIPEWIRE_DEBUG="I" is equivalent to PIPEWIRE_DEBUG="3" for example.
This commit is contained in:
Peter Hutterer 2021-09-10 08:51:52 +10:00 committed by Wim Taymans
parent 0a21d76334
commit e1672f9762
5 changed files with 67 additions and 10 deletions

View file

@ -76,7 +76,7 @@ variable like so:
```
cd builddir/
PIPEWIRE_DEBUG=4 make run
PIPEWIRE_DEBUG="D" make run
```
You might have to stop the pipewire service/socket that might have been