forked from osmocom/wireshark
wslog: Fatal messages should always be active
This commit is contained in:
parent
472eaf911b
commit
c2c256f0d8
|
@ -200,6 +200,12 @@ gboolean ws_log_msg_is_active(const char *domain, enum ws_log_level level)
|
|||
if (level >= LOG_LEVEL_CRITICAL)
|
||||
return TRUE;
|
||||
|
||||
/*
|
||||
* Check if the level has been configured as fatal.
|
||||
*/
|
||||
if (level >= fatal_log_level)
|
||||
return TRUE;
|
||||
|
||||
/*
|
||||
* The debug/noisy filter overrides the other parameters.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue