10using LogMessageCallback = std::function<void(
PdfLogSeverity logSeverity,
const std::string_view& msg)>;
12class PODOFO_API PdfCommon final
17 static void AddFontDirectory(
const std::string_view& path);
22 static void SetLogMessageCallback(
const LogMessageCallback& logMessageCallback);
26 static void SetMaxLoggingSeverity(PdfLogSeverity logSeverity);
33 static void SetMaxRecursionDepth(
unsigned maxRecursionDepth);
35 static unsigned GetMaxRecursionDepth();
38 static bool IsLoggingSeverityEnabled(PdfLogSeverity logSeverity);
40 static unsigned GetMaxObjectCount();
41 static void SetMaxObjectCount(
unsigned maxObjectCount);
This file should be included as the FIRST file in every header of PoDoFo lib.
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
PdfLogSeverity
Used in PoDoFo::LogMessage to specify the log level.
Definition PdfDeclarations.h:49