mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
5aa458ffae
Previously, debug log functions had to handle NULLs and truncate output to the available buffer size. This was verbose for both coding and testing. Instead, create a function/macro combination that allows log functions to return a simple String object. The wrapper function takes care of the memory context, handles NULLs, and truncates the log string based on the available buffer size. |
||
---|---|---|
.. | ||
dtd | ||
coding.xml | ||
index.xml | ||
reference.xml | ||
release.xml | ||
test.xml | ||
user-guide.xml |