aboutsummaryrefslogtreecommitdiff
path: root/pw_log_basic/docs.rst
blob: 2b8ca41081b7f0a9e28b1288a1617102c80e10f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.. _chapter-pw-log-basic:

.. default-domain:: cpp

.. highlight:: sh

------------
pw_log_basic
------------
``pw_log_basic`` is a ``pw_log backend`` that sends logs over ``pw_sys_io``. The
destination of ``pw_sys_io`` depends on the ``pw_sys_io`` backend in use. This
is controlled by the ``dir_pw_sys_io_backend`` variable in a target's
``target_config.gni``.
information.

This module employs an internal buffer for formatting log strings, and currently
has a fixed size of 150 bytes. Any final log statements that are larger than
149 bytes (one byte used for a null terminator) will be truncated.

.. note::
  The documentation for this module is currently incomplete.