X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Flogging.h;h=655c00a5957b71b131eda80de6ec0334af5416c9;hp=510cfb88562024cf20cdd3f3c7431056e586619c;hb=4e185ad8ab5a7e01edbbe12d11eb2f1577de7e8b;hpb=2088fa3cd72332f5517edeb9267e381fdf35db01 diff --git a/ccan/tdb2/test/logging.h b/ccan/tdb2/test/logging.h index 510cfb88..655c00a5 100644 --- a/ccan/tdb2/test/logging.h +++ b/ccan/tdb2/test/logging.h @@ -4,13 +4,14 @@ #include #include +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) {