[PATCH v2 1/2] doc/contributing: provide coding details for dynamic logging
fengchengwen
fengchengwen at huawei.com
Tue Jul 4 08:20:08 CEST 2023
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 2023/6/21 1:07, Bruce Richardson wrote:
> While the section on dynamic logging in the contributors guide covered
> the details of the logging naming scheme, it failed to cover exactly how
> the component developer, i.e. the contributor, could actually use
> dynamic logging in their component.
>
> Fix this by splitting the details of the naming scheme into a separate
> subsection, and adding to the introduction on logging, a recommendation
> (and example) to use RTE_LOG_REGISTER_DEFAULT.
>
> Similarly, when discussing specialization, include a reference to the
> RTE_LOG_REGISTER_SUFFIX macro.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
...
More information about the dev
mailing list