mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 05:48:02 +02:00
log: make debug level 0 enable fatal errors
We always want to show fatal errors
This commit is contained in:
parent
3034fc7c79
commit
cbf0d7284a
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ static G_GNUC_CONST inline gint
|
|||
level_index_from_spa (gint spa_lvl)
|
||||
{
|
||||
if (G_UNLIKELY (spa_lvl <= SPA_LOG_LEVEL_NONE))
|
||||
return 0;
|
||||
return 1;
|
||||
else if (spa_lvl < SPA_LOG_LEVEL_WARN)
|
||||
return spa_lvl + 1;
|
||||
else if (G_UNLIKELY (spa_lvl > SPA_LOG_LEVEL_TRACE))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue