aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-06-18 16:33:27 +0200
committerJay Berkenbilt <ejb@ql.org>2022-06-18 16:38:50 +0200
commite0720eaa78a56dafe5f5e572387b3a0cc8c88ec9 (patch)
treeb4a0c2b0a38c723a5e33c06e1f4122e983fdb146 /manual
parent83be2191b4f3eb8906160d61f61cae48532ee651 (diff)
downloadqpdf-e0720eaa78a56dafe5f5e572387b3a0cc8c88ec9.tar.zst
Use the default logger for other writes to stdout/stderr
When there is no context for writing output or error messages, use the default logger.
Diffstat (limited to 'manual')
-rw-r--r--manual/release-notes.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/manual/release-notes.rst b/manual/release-notes.rst
index 0e48c0f6..d66e4bb3 100644
--- a/manual/release-notes.rst
+++ b/manual/release-notes.rst
@@ -120,6 +120,11 @@ For a detailed list of changes, please see the file
- See :ref:`breaking-crypto-api` for specific details, and see
:ref:`weak-crypto` for a general discussion.
+ - QPDFObjectHandle::warnIfPossible no longer takes an optional
+ argument to throw an exception if there is no description. If
+ there is no description, it writes to the default logger's error
+ stream.
+
- CLI Enhancements
- ``qpdf --list-attachments --verbose`` include some additional
@@ -139,6 +144,20 @@ For a detailed list of changes, please see the file
- Library Enhancements
+ - A new object ``QPDFLogger`` has been added. Details are in
+ :file:`include/qpdf/QPDFLogger.hh`.
+
+ - ``QPDF`` and ``QPDFJob`` both use the default logger by
+ default but can have their loggers overridden. The
+ ``setOutputStreams`` method is deprecated in both classes.
+
+ - A few things from ``QPDFObjectHandle`` that used to be
+ exceptions now write errors with the default logger.
+
+ - By configuring the default logger, it is possible to capture
+ output and errors that slipped through the cracks with
+ ``setOutputStreams``.
+
- New methods ``insertItemAndGet``, ``appendItemAndGet``,
``eraseItemAndGet``, ``replaceKeyAndGet``, and
``removeKeyAndGet`` return the newly added or removed object.