union tdb_attribute tap_log_attr = {
.log = { .base = { .attr = TDB_ATTRIBUTE_LOG },
- .log_fn = tap_log_fn }
+ .fn = tap_log_fn }
};
void tap_log_fn(struct tdb_context *tdb,
- enum tdb_log_level level, void *priv,
- const char *message)
+ enum tdb_log_level level,
+ const char *message, void *priv)
{
if (suppress_logging)
return;