#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/build.h>
#include <pakfire/cgroup.h>
#include <pakfire/config.h>
#include <lzma.h>
#include <zstd.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/ctx.h>
#include <pakfire/compress.h>
#include <pakfire/file.h>
#include <solv/solver.h>
#include <sqlite3.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/archive.h>
#include <pakfire/ctx.h>
#include <pakfire/db.h>
#include <solv/evr.h>
#include <solv/pool.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/dependencies.h>
#include <pakfire/logging.h>
#include <pakfire/package.h>
#include <stddef.h>
#include <stdlib.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/arch.h>
#include <pakfire/dist.h>
#include <pakfire/httpclient.h>
#include <sys/stat.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/fhs.h>
#include <pakfire/file.h>
#include <pakfire/logging.h>
#include <gelf.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/ctx.h>
#include <pakfire/constants.h>
#include <pakfire/digest.h>
#include <archive.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/file.h>
#include <pakfire/filelist.h>
#include <pakfire/i18n.h>
// Below is the legacy logging mechanism
+#ifdef PAKFIRE_LEGACY_LOGGING
+
// This function does absolutely nothing
static inline void __attribute__((always_inline, format(printf, 2, 3)))
pakfire_log_null(struct pakfire* pakfire, const char *format, ...) {}
# define DEBUG_ERRNO pakfire_log_null
#endif
+#endif /* PAKFIRE_LEGACY_LOGGING */
+
#endif /* PAKFIRE_PRIVATE */
#endif /* PAKFIRE_LOGGING_H */
// libuuid
#include <uuid.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/arch.h>
#include <pakfire/cgroup.h>
#include <pakfire/jail.h>
# #
#############################################################################*/
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/linter.h>
#include <pakfire/logging.h>
#include <pakfire/package.h>
#include <sys/sysmacros.h>
#include <sys/types.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/arch.h>
#include <pakfire/logging.h>
#include <pakfire/pakfire.h>
#include <solv/repo.h>
#include <solv/solvable.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/archive.h>
#include <pakfire/constants.h>
#include <pakfire/ctx.h>
#include <json.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/archive.h>
#include <pakfire/compress.h>
#include <pakfire/constants.h>
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/dependencies.h>
#include <pakfire/jail.h>
#include <pakfire/logging.h>
#include <stdlib.h>
#include <time.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/constants.h>
#include <pakfire/logging.h>
#include <pakfire/pakfire.h>
#include <errno.h>
#include <stdlib.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/constants.h>
#include <pakfire/dependencies.h>
#include <pakfire/i18n.h>
#include <shadow/subid.h>
#endif
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/logging.h>
#include <pakfire/pakfire.h>
#include <pakfire/pwd.h>
#include <json.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/archive.h>
#include <pakfire/compress.h>
#include <pakfire/config.h>
#include <archive.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/compress.h>
#include <pakfire/db.h>
#include <pakfire/file.h>
#include <solv/transaction.h>
#include <solv/solverdebug.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/archive.h>
#include <pakfire/ctx.h>
#include <pakfire/db.h>
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
+// Enable legacy logging
+#define PAKFIRE_LEGACY_LOGGING
+
#include <pakfire/ctx.h>
#include <pakfire/constants.h>
#include <pakfire/logging.h>