]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/logging.h
tdb2: clean up logging
[ccan] / ccan / tdb2 / test / logging.h
index 510cfb88562024cf20cdd3f3c7431056e586619c..655c00a5957b71b131eda80de6ec0334af5416c9 100644 (file)
@@ -4,13 +4,14 @@
 #include <stdbool.h>
 #include <string.h>
 
+extern bool suppress_logging;
+extern const char *log_prefix;
 extern unsigned tap_log_messages;
-
 extern union tdb_attribute tap_log_attr;
 
 void tap_log_fn(struct tdb_context *tdb,
                enum tdb_debug_level level, void *priv,
-               const char *fmt, ...);
+               const char *message);
 
 static inline bool data_equal(struct tdb_data a, struct tdb_data b)
 {