mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
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:
parent
0a21d76334
commit
e1672f9762
5 changed files with 67 additions and 10 deletions
|
|
@ -132,12 +132,12 @@ more debugging. The format is:
|
|||
`<level>[<category>,<category>,...]`
|
||||
|
||||
- `<level>` specifies the log level:
|
||||
+ `0`: no logging is enabled
|
||||
+ `1`: Error logging is enabled
|
||||
+ `2`: Warnings are enabled
|
||||
+ `3`: Informational messages are enabled
|
||||
+ `4`: Debug messages are enabled
|
||||
+ `5`: Trace messages are enabled. These messages can be logged
|
||||
+ `X` or `0`: no logging is enabled
|
||||
+ `E` or `1`: Error logging is enabled
|
||||
+ `W` or `2`: Warnings are enabled
|
||||
+ `I` or `3`: Informational messages are enabled
|
||||
+ `D` or `4`: Debug messages are enabled
|
||||
+ `T` or `5`: Trace messages are enabled. These messages can be logged
|
||||
from the realtime threads.
|
||||
|
||||
- `<category>`: Specifies a string category to enable. Many categories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue