aboutsummaryrefslogtreecommitdiff
path: root/pw_log_basic/docs.rst
diff options
context:
space:
mode:
Diffstat (limited to 'pw_log_basic/docs.rst')
-rw-r--r--pw_log_basic/docs.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/pw_log_basic/docs.rst b/pw_log_basic/docs.rst
index 7bdf8c5d2..153264f3c 100644
--- a/pw_log_basic/docs.rst
+++ b/pw_log_basic/docs.rst
@@ -18,9 +18,11 @@ calling ``pw::log_basic::SetOutput``.
Set the log output function, which defaults ``pw_sys_io::WriteLine``. This
function is called with each formatted log message.
-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.
+This module employs an internal buffer for formatting log strings, whose size
+can be configured via the ``PW_LOG_BASIC_ENTRY_SIZE`` macro which defaults to
+150 bytes. Any final log statements that are larger than
+``PW_LOG_BASIC_ENTRY_SIZE - 1`` bytes (one byte used for a null terminator) will
+be truncated.
.. note::
The documentation for this module is currently incomplete.