summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_node/log.c
blob: f035f91e80876a4516e4ba0b8bf53ff633569d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(C) 2020 Marvell International Ltd.
 */

#include "node_private.h"

int rte_node_logtype;

RTE_INIT(rte_node_init_log)
{
	rte_node_logtype = rte_log_register("lib.node");
	if (rte_node_logtype >= 0)
		rte_log_set_level(rte_node_logtype, RTE_LOG_INFO);
}