[dpdk-dev] [PATCH] librte_log: add function to retrieve log_level
Matthew Hall
mhall at mhcomputing.net
Sun Sep 14 10:36:09 CEST 2014
On Sun, Sep 14, 2014 at 01:34:46AM -0700, Matthew Hall wrote:
> Signed-off-by: Matthew Hall <mhall at mhcomputing.net>
> ---
> lib/librte_eal/common/eal_common_log.c | 7 +++++++
> lib/librte_eal/common/include/rte_log.h | 6 ++++++
> 2 files changed, 13 insertions(+)
I forgot to mention in the comments, this patch is helpful when you want
outside code to cooperate with and respect log levels set in DPDK. Then you
can avoid using duplicate incompatible log code in the DPDK and non-DPDK parts
of the app.
Matthew.
More information about the dev
mailing list