Re: [dpdk-dev] [PATCH v3] log: add API to check if a logtype can log in a given level

2020-03-27 Thread David Marchand
On Fri, Mar 13, 2020 at 3:52 PM Ferruh Yigit wrote: > > This is a helper function in case components would like to do more work > than just logging a message based on log level, like for example > collecting some stats if the log type is DEBUG etc.. > > A few existing relevant usage converted to t

Re: [dpdk-dev] [PATCH v3] log: add API to check if a logtype can log in a given level

2020-03-26 Thread Andrzej Ostruszka
On 3/13/20 3:51 PM, Ferruh Yigit wrote: > This is a helper function in case components would like to do more work > than just logging a message based on log level, like for example > collecting some stats if the log type is DEBUG etc.. > > A few existing relevant usage converted to this new API. >

[dpdk-dev] [PATCH v3] log: add API to check if a logtype can log in a given level

2020-03-13 Thread Ferruh Yigit
This is a helper function in case components would like to do more work than just logging a message based on log level, like for example collecting some stats if the log type is DEBUG etc.. A few existing relevant usage converted to this new API. Signed-off-by: Ferruh Yigit Acked-by: Hyong Youb