From 1db858cd88f28087aee37aef97aa660dc92222f2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 25 Oct 2024 14:12:54 +0000 Subject: [PATCH] logging: Remove the actual legacy logger Signed-off-by: Michael Tremer --- src/libpakfire/include/pakfire/logging.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/libpakfire/include/pakfire/logging.h b/src/libpakfire/include/pakfire/logging.h index 40ad6e518..ff25918d7 100644 --- a/src/libpakfire/include/pakfire/logging.h +++ b/src/libpakfire/include/pakfire/logging.h @@ -78,20 +78,5 @@ static inline void __attribute__((always_inline, format(printf, 2, 3))) # define PAKFIRE_DEBUG pakfire_log_null #endif -// Below is the legacy logging mechanism - -#ifdef PAKFIRE_LEGACY_LOGGING - -#define INFO(pakfire, arg...) pakfire_log_condition(pakfire, LOG_INFO, ## arg) -#define ERROR(pakfire, arg...) pakfire_log_condition(pakfire, LOG_ERR, ## arg) - -#ifdef ENABLE_DEBUG -# define DEBUG(pakfire, arg...) pakfire_log_condition(pakfire, LOG_DEBUG, ## arg) -#else -# define DEBUG pakfire_log_null -#endif - -#endif /* PAKFIRE_LEGACY_LOGGING */ - #endif /* PAKFIRE_PRIVATE */ #endif /* PAKFIRE_LOGGING_H */ -- 2.39.5