aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFLogger.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDFLogger.hh b/include/qpdf/QPDFLogger.hh
index 655da668..54d91d60 100644
--- a/include/qpdf/QPDFLogger.hh
+++ b/include/qpdf/QPDFLogger.hh
@@ -31,7 +31,7 @@ class QPDFLogger
{
public:
QPDF_DLL
- QPDFLogger();
+ static std::shared_ptr<QPDFLogger> create();
// Return the default logger. In general, you should use the
// default logger. You can also create your own loggers and use
@@ -152,6 +152,7 @@ class QPDFLogger
void setOutputStreams(std::ostream* out_stream, std::ostream* err_stream);
private:
+ QPDFLogger();
std::shared_ptr<Pipeline>
throwIfNull(std::shared_ptr<Pipeline>, bool null_okay);