Define more log domains for extcaps

This commit is contained in:
João Valverde 2021-12-04 22:15:31 +00:00 committed by Wireshark GitLab Utility
parent 6ef2b48fc0
commit cef5e81146
10 changed files with 12 additions and 1 deletions

View File

@ -11,7 +11,7 @@
*/
#include <config.h>
#define WS_LOG_DOMAIN LOG_DOMAIN_CAPCHILD
#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include <stdio.h>
#include <stdlib.h>

View File

@ -10,6 +10,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#define WS_LOG_DOMAIN "androiddump"
#include "extcap-base.h"

View File

@ -16,6 +16,8 @@
*/
#include "config.h"
#define WS_LOG_DOMAIN "etwdump"
#include "etl.h"
#include "wsutil/ws_getopt.h"
#include "wsutil/strtoi.h"

View File

@ -9,6 +9,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#define WS_LOG_DOMAIN "etwdump"
#include "etw_message.h"
#include <wsutil/wslog.h>

View File

@ -11,6 +11,7 @@
*/
#include "config.h"
#define WS_LOG_DOMAIN "etwdump"
#include "extcap-base.h"

View File

@ -11,6 +11,7 @@
*/
#include "config.h"
#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include "extcap-base.h"

View File

@ -11,6 +11,7 @@
*/
#include "config.h"
#define WS_LOG_DOMAIN "randpktdump"
#include "extcap-base.h"

View File

@ -11,6 +11,7 @@
*/
#include "config.h"
#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include "ssh-base.h"

View File

@ -11,6 +11,7 @@
*/
#include <config.h>
#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include <stdio.h>
#include <glib.h>

View File

@ -40,6 +40,8 @@
#define LOG_DOMAIN_UAT "UAT"
#define LOG_DOMAIN_EXTCAP "Extcap"
/*
* Ascending order by priority needs to be maintained. Higher priorities have
* higher values.