From: Michael Tremer Date: Fri, 25 Oct 2024 14:12:54 +0000 (+0000) Subject: logging: Remove the actual legacy logger X-Git-Tag: 0.9.30~884 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1db858cd88f28087aee37aef97aa660dc92222f2;p=pakfire.git logging: Remove the actual legacy logger Signed-off-by: Michael Tremer --- 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 */