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

2020-03-12 Thread Ferruh Yigit
On 3/12/2020 1:41 PM, David Marchand wrote: > On Tue, Mar 3, 2020 at 7:18 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..

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

2020-03-12 Thread David Marchand
On Tue, Mar 3, 2020 at 7:18 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 th

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

2020-03-04 Thread Hemant Agrawal (OSS)
Acked-by: Hemant Agrawal

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

2020-03-03 Thread Hyong Youb Kim (hyonkim)
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, March 4, 2020 3:18 AM > To: Hemant Agrawal ; Sachin Saxena > ; Fiona Trahe ; John > Griffin ; Deepak Kumar Jain > ; John Daley (johndale) ; > Hyong Youb Kim (hyonkim) ; Alfredo Cardigliano > ; Matan Azrad ; Shahaf > Shuler ; Viac

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

2020-03-03 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 --- Cc: David Marchan