doc: logging: remove references to logging v2

Since the removal of logging v1, there's only one version,
so remove the '2' from the function references for the docs
to link to the correct functions properly.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-02-14 19:29:44 +08:00 committed by Henrik Brix Andersen
parent d3a0830ea5
commit f977847210

View file

@ -660,7 +660,7 @@ not supported. Occasionally, logging may inform backend about number of dropped
messages with :c:func:`log_backend_dropped`. Message processing API is version
specific.
:c:func:`log_backend_msg2_process` is used for processing message. It is common for
:c:func:`log_backend_msg_process` is used for processing message. It is common for
standard and hexdump messages because log message hold string with arguments
and data. It is also common for deferred and immediate logging.
@ -670,7 +670,7 @@ Message formatting
Logging provides set of function that can be used by the backend to format a
message. Helper functions are available in :zephyr_file:`include/zephyr/logging/log_output.h`.
Example message formatted using :c:func:`log_output_msg2_process`.
Example message formatted using :c:func:`log_output_msg_process`.
.. code-block:: console