aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-09-09 14:03:21 +0200
committerJay Berkenbilt <ejb@ql.org>2022-09-09 16:49:25 +0200
commit3dbab589e32d3ed5bd98e0634255ba7dfab4c892 (patch)
tree132391fe89db1b2fbf50929721e0eb8bb167e47d /qpdf/qtest
parent0ad4e190ffbb85ea2db5a05d43cd4f81d98cfe63 (diff)
downloadqpdf-3dbab589e32d3ed5bd98e0634255ba7dfab4c892.tar.zst
Add C API functions for using custom loggers
Expose functions to the C API to create new loggers and to setLogger and getLogger for QPDF and QPDFJob.
Diffstat (limited to 'qpdf/qtest')
-rw-r--r--qpdf/qtest/qpdf/c-check-warn.out6
-rw-r--r--qpdf/qtest/qpdf/qpdfjob-ctest.out3
2 files changed, 5 insertions, 4 deletions
diff --git a/qpdf/qtest/qpdf/c-check-warn.out b/qpdf/qtest/qpdf/c-check-warn.out
index 65602762..c733f15d 100644
--- a/qpdf/qtest/qpdf/c-check-warn.out
+++ b/qpdf/qtest/qpdf/c-check-warn.out
@@ -1,6 +1,6 @@
-WARNING: c-check-warn-in.pdf: file is damaged
-WARNING: c-check-warn-in.pdf (offset 1556): xref not found
-WARNING: c-check-warn-in.pdf: Attempting to reconstruct cross-reference table
+|custom|WARNING: |custom|c-check-warn-in.pdf: file is damaged|custom|
+|custom|WARNING: |custom|c-check-warn-in.pdf (offset 1556): xref not found|custom|
+|custom|WARNING: |custom|c-check-warn-in.pdf: Attempting to reconstruct cross-reference table|custom|
status: 1
warning: c-check-warn-in.pdf: file is damaged
code: 5
diff --git a/qpdf/qtest/qpdf/qpdfjob-ctest.out b/qpdf/qtest/qpdf/qpdfjob-ctest.out
index 22d431de..1778e70a 100644
--- a/qpdf/qtest/qpdf/qpdfjob-ctest.out
+++ b/qpdf/qtest/qpdf/qpdfjob-ctest.out
@@ -6,5 +6,6 @@ json test passed
WARNING: xref-with-short-size.pdf (xref stream, offset 16227): Cross-reference stream data has the wrong size; expected = 52; actual = 56
qpdfjob json: operation succeeded with warnings; resulting file may have some problems
json warn test passed
-qpdfjob json: an output file name is required; use - for standard output
+|custom|qpdfjob json|custom|: |custom|an output file name is required; use - for standard output|custom|
+|custom|qpdfjob json|custom|: |custom|an output file name is required; use - for standard output|custom|
json error test passed