blob: 2b8ca41081b7f0a9e28b1288a1617102c80e10f8 [file] [log] [blame]
Armando Montanez0054a9b2020-03-13 13:06:24 -07001.. _chapter-pw-log-basic:
2
3.. default-domain:: cpp
4
5.. highlight:: sh
6
7------------
8pw_log_basic
9------------
10``pw_log_basic`` is a ``pw_log backend`` that sends logs over ``pw_sys_io``. The
11destination of ``pw_sys_io`` depends on the ``pw_sys_io`` backend in use. This
12is controlled by the ``dir_pw_sys_io_backend`` variable in a target's
13``target_config.gni``.
14information.
15
16This module employs an internal buffer for formatting log strings, and currently
17has a fixed size of 150 bytes. Any final log statements that are larger than
18149 bytes (one byte used for a null terminator) will be truncated.
19
20.. note::
21 The documentation for this module is currently incomplete.