On Tue, 18 Jul 2023 17:48:00 +0100
Bruce Richardson <bruce.richard...@intel.com> wrote:

> Add details to our documentation on how to register logging for a
> component. Also provide guidelines on when to use logs vs tracing
> vs telemetry.
> 
> V3: Moved new doc section on runtime info, and other minor changes flagged
>     by David on review.
> 
> V2: extended second patch based on the feedback provided.
>     Hopefully, we can keep this section short and clear as the
>     revisions roll! :-)
> 
> Bruce Richardson (2):
>   doc/contributing: provide coding details for dynamic logging
>   doc/contributing: guidelines for logging, tracing and telemetry
> 
>  doc/guides/contributing/coding_style.rst | 18 +++++++++
>  doc/guides/contributing/design.rst       | 49 ++++++++++++++++++++++++
>  doc/guides/prog_guide/telemetry_lib.rst  |  2 +
>  doc/guides/prog_guide/trace_lib.rst      |  2 +
>  lib/cfgfile/rte_cfgfile.c                |  2 +
>  5 files changed, 73 insertions(+)
> 
> --
> 2.39.2
> 

Should we add explicit statements about:
  - Static logtypes (especially LOGTYPE_PMD) should not be used.
  - New static logtypes must not be added.

Reply via email to