diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-03-05 03:34:51 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-03-06 12:40:20 +0000 |
commit | b5530e7021fa68c1d8e7e454b758cfea64acd6ba (patch) | |
tree | aacd19f7b81f23ef3e37e986b74018d5978a5afd /dumpcap.c | |
parent | cff3a1c08d6773410221717015cf9e051c4c7fe4 (diff) |
Teach our console log handler to use log domains (Unix)
By punting to the default log handler. tshark is using
g_log_default_handler(), Qt is too. Is there a reason
Wireshark cannot do the same?
Using g_defaut_log_handler() allows the user to
selectively turn on INFO and DEBUG messages using
the environment variable G_MESSAGES_DEBUG.
The fact that the output format is now consistent with
tshark is also a nice bonus.
Ping #17271.
Diffstat (limited to 'dumpcap.c')
0 files changed, 0 insertions, 0 deletions