1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Intel Corporation
10 extern int stack_logtype;
12 #define STACK_LOG(level, fmt, args...) \
13 rte_log(RTE_LOG_ ##level, stack_logtype, "%s(): "fmt "\n", \
16 #define STACK_LOG_ERR(fmt, args...) \
17 STACK_LOG(ERR, fmt, ## args)
19 #define STACK_LOG_WARN(fmt, args...) \
20 STACK_LOG(WARNING, fmt, ## args)
22 #define STACK_LOG_INFO(fmt, args...) \
23 STACK_LOG(INFO, fmt, ## args)
25 #endif /* _STACK_PVT_H_ */