]> git.ipfire.org Git - pakfire.git/commitdiff
logging: Remove the actual legacy logger
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2024 14:12:54 +0000 (14:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Oct 2024 14:12:54 +0000 (14:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/logging.h

index 40ad6e51862e68ec72bc02da972dc7deb7ce675e..ff25918d772971155b97c8912cbaeeae2a28011c 100644 (file)
@@ -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 */